psychopy.org | Reference | Downloads | Github

Iohub keyboard demo: not recognizing keypresses to standard characters

The keyboard iohub demo did not start on my Macbook Pro (late 2012) under os Sierra.

I replaced:

while not ‘q’ in events and flip_time - demo_timeout_start < 15.0:

by:

while not ‘q’ in events:

following https://github.com/psychopy/psychopy/issues/1270

Now the demo starts, but only recognizes special characters like command, control, option… but not standard characters like a, b or space.

Given that modifier keys are detected, you should go back to that github link and read the suggestion by @richard on accessibility settings.

Thanks, now it does work (I should have read the github discussion more carefully). Although I had Psychopy in the accessibility list, it didn’t work until I untick and tick Psychopy as it is suggested in the github discussion.