% get_key_name.m
% find out what the name of the key is

WaitSecs(1);
KbWait;
[key_is_down, secs, key_code] = ...
    KbCheck;
name = KbName(key_code);
disp(name);
