| Reference | Downloads | Github

Missed key response

Hey everyone, i have a problem. I want to present target stimuli for 300ms, and also record the response time shorter than 300ms. if i use this code, i cannot record the reaction time during 320ms to 336ms since fixation.draw() spend 0.016s.

Dose anybody know how to resolve this problem?

How can keys ever be None just after a waitKeys call?

Sorry, I just spotted the max wait parameter.

Try adding clearEvents=False to the second call to event.waitKeys(...).