KbQueue for multiple key presses

Hello,
I need to run a task in which I present a series of stimuli and collect multiple key presses (of the same key) in a single trial, to analyze their timing. The stimuli have to be presented continuously and independently of any responses, so I can’t use something like KbWait to get key presses. I thought I could do it with KbQueueCheck, but I understand it would only return the first and last key presses.
Is there a way to do this while collecting all key presses (with very accurate timing)?

KbEventGet is what you need :slight_smile:

1 Like