event.waitKeys() always discards pre-existing keypresses — no way to opt out
event.waitKeys() always discards pre-existing keypresses — no way to opt out: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). I'm running an experiment where I present a stimulus and want to collect the participant's response. In some trials I want to do other work…
The task
I'm running an experiment where I present a stimulus and want to collect the participant's response. In some trials I want to do other work (drawing, logging) between the stimulus onset and the moment I block on the response, but I still want to count a keypress that happened during that interval as a valid response.
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.