Collecting keyboard respons during target presentation + shortly after target presentation
I have designed a task for OSWeb in which letters repeatedly appear at the left and right side of the screen, and when a target letter appears among the distractor letters, participants have to press 'space'. With a distractor letter, 'None' is the correct response. Presentation times are 300ms letter presentation and 450ms interletter, with a block including 30 trials with a distractor letter and 2 with a target letter.
I made it this way that there is a loop in which:
- inter-letter sketchpad is presented (445ms),
- letter sketchpad is presented (0ms) with either the target or non-target letter at either the left or right side of the screen (dependent on the how the variables are set for that specific trial),
- keyboard response (295ms)
I would like to collect the number of correct responses. However, as the letter presentation times are quite short for people to be able to press 'space', I would like to be able to also collect responses after the 295ms have passed, so when participants for example press space during the first 100ms of the next interstimulus sketchpad. I am struggling on how to implement this, and am not sure whether this is possible. Any suggestions would be really helpful!