psychopy.org | Reference | Downloads | Github

mouse.getPressed() not working after keyboard response

URL of experiment: Pavlovia

Description of the problem: It appears that .getPressed doesn’t work within around 1 second of a keyboard response. Here is a vastly cut down version of @jasonludington 's experiment where I have been having the issue.

I have discovered that even within the mouse routine (+ / #) the + won’t change to # straight after a key has been pressed, even though the routine has no keyboard component or code.

It looks like this works in 2021.1.4 https://pavlovia.org/vespr/mouse-test so I’ll upgrade the experiment to get the desired functionality.

1 Like