Docs @ Psychtoolbox Wiki : KbQueueCheck

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

PsychHID('KbQueueCheck')

PsychtoolboxPsychHID.{mex*,dll} subfunction

Usage
[keyIsDown, firstKeyPressTimes, firstKeyReleaseTimes, lastKeyPressTimes, lastKeyReleaseTimes]=PsychHID('KbQueueCheck' [, deviceIndex])

Checks a queue for keyboard events generated by a device.
PsychHID('KbQueueCreate') must be called before this routine and
PsychHID('KbQueueStart') must then be called for any events to be returned.
On Linux, the optional 'deviceIndex' is the index of the keyboard device whose
queue should be checked. If omitted, the default keyboard's queue will be
checked. On other systems, the last queue will be checked.


Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.1235 seconds