| Reference | Downloads | Github

Continuous key press

Hello everyone,

I am designing an experiment where the participants are asked to read a sentence (eg. Tomorrow I will go to the) and then choose a word (out of four possibilities which are presented at the same time in different positions on the screen) that would be the right ending in their opinion.
The steps are the following: fixation cross -> sentence -> the four words.
I want them as soon as they see the fixation cross to press key 5 on the number pad and not release it until they make a decision (keys 1, 3, 7 or 9).

  1. What should I do in order to have this continuous key press?
  2. Is there a way to check whether they have never released it?

I am interested in measuring the reaction time from the moment they release the key 5 and press 1, 3, 7 or 9.

Thank you in advance for your help.