keyboard response not recorded
You already helped me a lot but now I have another problem.
I have this sequence
The inline_exp is
if var.Trial == "catch":
var.correct_response = "enter"
elif var.Trial == "true":
var.correct_response = None
raise Exception("Invalid val: %s" % var.Trial)
The sleep inline is
trial_duration = clock.time() - run_onset
if trial_duration < 3990:
I want participants to see "answer" 500 ms and then a blank screen (ITI) for 1000 ms (this both is fixed, independent if they answer or not).
They should be able to respond from the very beginning of answer to the end of blank (all 1500 ms)
These responses should be compared to the correct_response. If in any of this time they press ENTER it should be correct, otherwise not.
My 1. problem is, it does NOT record the response AT all ("None") with space or Enter, only with letter, say "g".
Problem 2 is: How can I tell it to check both responses for accuracy calculation?
What I am doing wrong?