psychopy.org | Reference | Downloads | Github

Keyboard recognize caret character

OS (e.g. Win10): Ubuntu 16.04/Windows 7
PsychoPy version (e.g. 1.84.x): 1.85.3, 1.85.6 respectively
Standard Standalone? (y/n): neurodebian install/standalone (standard)
What are you trying to achieve?: Our facility has the scan trigger set as the ‘caret’ character, so I’m trying to set up a simple experiment that reads the caret symbol in psychopy

What did you try to make it work?: I used the builder to make a scan_trigger keyboard response component and added the caret ^ as an entry for the allowed keys. I would start the experiment and hit shift+6 to get the caret key

What specifically went wrong when you tried that?: When the experiment started it would site at the scan trigger page and wouldn’t recognize the caret symbol.

Here’s a link to the code via github for reproducing the behavior.

Thanks!
James

learned that I using the backend pyglet and then searched for the caret representation, it’s 'asciicircum' for anyone that was wondering.

Now I’m having another issue where on my ubuntu machine, the modifier 'lshift' is registered and then when I press '6'; 'asciicircum', is registered as input, but on two windows machines, it just records the 'lshift' and the '6', ignoring the shift modifier.