Eyelink(‘ButtonStates’)

Psychtoolbox>Eyelink.{mex*} subfunction

result = Eyelink(‘ButtonStates’)

reads the currently-known state of all buttons
the bits in the returned value will be
set (1) if corresponding button is pressed
LSB is button 1, MSB is button 16
currently only 8 buttons available

###See also: SendKeyButton