| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#Q) The Timed Response Any Button command pauses Cogsys execution until any of the gameport buttons are pressed or the specified timelimit expires. Each button is given a letter:
The corresponding letter is written to output with response time. If no key pressed within the time limit, '&' is written to output.
Warning: If more than one button is pressed, the binary code representing the button combination is written as key pressed. Note that this may confuse programs expecting pure ASCII text.
#Q
#Qtimelimit
COGVAR_KEY) is
updated with the letter code. Cogsys variable 5
(COGVAR_TIME) is updated with the reaction time.
#Q100
C74