psychopy.org | Reference | Downloads | Github

PsychoPy stores both shifts as 'left shift'


#1

Win7
v3.0.0b11
Standard Standalone? yes
What are you trying to achieve?: use ‘left shift’ and ‘right shift’ for a true/false questions task. However PsychoPy stores any shift press as ‘left shift’ press.

What did you try to make it work? checked with another program if it’s my keyboard or OS problem but in this program (SharpKeys) both shifts are recognized correctly.
In the image a piece of output. As you can see the keypress in all cases shows as ‘left shift’ even though I pressed the right shift in more than half of the cases.


#2

I suspect this is a bug upstream with pyglet, which is where these key codes come from. I’m afraid it probably isn’t something we can do much about at our end. Could you just workaround it using different keys?
cheers,
Jon