Page 1 of 1

Keyboard stimulator use while displaying cue image

Posted: Tue Jun 08, 2021 7:03 pm
by m.casso-echalar
Hello,
Currently, I am implementing my own experiment with a Lua script and cue image display.
In my experiment, I need to show an image on full screen and wait for the user to press a key to start or terminate the experiment.
However, I realized the pop-up window of the keyboard stimulator box needs to be active or "clicked on" for the key activations to work.
Is there any way for the key pressing to work without this window being selected so I won't disturb my subjects during the experiment?

Could someone please help me identify the issue here? Thank you so much
Kind regards,
Isabel

Re: Keyboard stimulator use while displaying cue image

Posted: Fri Jun 11, 2021 12:34 pm
by Thibaut
Hi,
It's impossible actually to enable key without this window. But.....
I have already make a python script some times ago with opencv for cue image and key pressed simultany. You can use this tips if you want.
Thibaut