[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.