Docs @ Psychtoolbox Wiki : KbQueueCheck

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin


PsychtoolboxPsychHID.{mex*,dll} subfunction

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

Checks a queue for keyboard or button 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.
The optional 'deviceIndex' is the index of the HID input device whose queue
should be checked. If omitted, the queue of the default device will be checked.


See also:

KbQueueCreate, KbQueueStart, KbQueueStop, KbQueueFlush, KbQueueRelease<<

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