We would like to be able to launch a keyboard ‘queue’ , do some stimulation, and check after that stimulation whether a key was pressed and recorded in the queue (and gather timing of the key press since initiating the queue). I wonder whether this is something that already exists in psychopy, or whether we would have to program this ourselves (perhaps using pyglet).
e.g. trial in a pseudo experiment
queue listen for keys
query whether anything happened with the keyboard during … draw stuff …
a similar procedure exists in PTB3:
This would allow more flexibility in gathering responses from participants in more complex tasks, where many things happen during a trial, and a traditional event.waitKeys wouldn’t be possible.
many thanks for your help,