[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#R
)
The Get Key Response is the classic response command. It pauses Cogsys
until the subject presses a key. It then writes the key pressed and the
reaction time in milliseconds to output, followed by a newline. It
updates Cogsys variables COGVAR_KEY
and COGVAR_TIME
with
the key and time, respectively.
Like most response commands, Get Key Response will terminate execution
of the experiment if the BREAKOUT_CHAR
key is entered.
#R
#R
COGVAR_KEY
) is updated with the key pressed.
Cogsys variable (COGVAR_TIME
) is updated with the reaction time.
#R
z200