Hi,
I run actually an experiment with PTB 2.54 on windows.
I want to display a stimulus and check for response of the subject
(this is done without problems). The problem is that i want the
subject to keep his 2 index on each ctrl button of the keyboard, and
released one if the stimulus is the target, the other if the stimulus
is a distractor.
My experiment run perfectly if a check for key_pressed, but i have
absolutly no idea of the method to check for key_released... It seems
that KbCheck have not been made for this and i'm afraid i can't do
what i want...
I hope that someone have already be in front of this problem.
I specify that i need acurate timing so it's better if i don't use
GetChar.
Thanks
sebastien
I run actually an experiment with PTB 2.54 on windows.
I want to display a stimulus and check for response of the subject
(this is done without problems). The problem is that i want the
subject to keep his 2 index on each ctrl button of the keyboard, and
released one if the stimulus is the target, the other if the stimulus
is a distractor.
My experiment run perfectly if a check for key_pressed, but i have
absolutly no idea of the method to check for key_released... It seems
that KbCheck have not been made for this and i'm afraid i can't do
what i want...
I hope that someone have already be in front of this problem.
I specify that i need acurate timing so it's better if i don't use
GetChar.
Thanks
sebastien