[open] PST SR-box problem with buttonpress repeats
I'm working on an experiment in which a PST button box is used for collecting trial responses. There are three contiguous questions which require a response from the box, before moving to the next one.
When using dummy mode (with the keyboard) it is fine, however, when using the PST box, when you press a button, it will often jump to the next question, then the next etc. instantly.
The problem seems to stem from the button-press constantly sending button-press signals whilst it is being pushed down. The first thought was to add a slight pause between the button press, and displaying the next screen/waiting for the next button press. This is not ideal though, as if the pause is too long, it can seem like pressing the button didn't do anything (and the participants press the button again). I thought to address this by clearing the screen as soon as the button was pressed (then having the small pause), but this introduces a memory artifact as the participants have to remember what was previously on the screen during the pause.
Are there separate "button-up / button-down" methods or functions? If possible I am thinking the best thing to do would be to record the time from onset of stimuli on button-down, then change stimuli/question on button-up.
I will take a look at the source code for the SR-Box plugin if I get time, but if anyone can think of a quick solution, I'd be really grateful.
I hope my explanation wasn't too confusing!