I have a likert-scale, where participants move the selecter rightwards and leftwards by clicking the ‘L’ key and ‘A’ key.
My issue is that the input is registered in the coder window(i.e. the ‘a’ or ‘l’ is added to my code), not in the experiment window, unless I click the experiment window with the mouse to set focus.
The scale appears within a loop, and it is only the first trial that presents the issue. After that, keyboard is registered and used to move the selecter on the scale without issue. I intend to run the experiment without the use of a mouse, so any help on how to solve this issue is greatly appreciated.
Is there a way I can force my system to set focus on the experiment-window when it opens?
PsychoPy v. 3.1.0 (coder)
The issue is the same if using left/right arrow keys.
I believe I am using PyGame v. 1.9.4 for graphics (it seems to be my default)