Hi all - I’m currently running MacOS Catalina Version10.15.4. I am having trouble with Psychtoolbox registering my keyboard.
I’m running Psychtoolbox version 3.0.15 with Matlab R2019a Update 8. I’ve read a number of threads where people were having the same problems because of Catalina (https://discourse.psychopy.org/t/keyboard-psychtoolbox-hid-failing-with-mac-os-catalina-update/9389/21), where the fix for them was going to System Preferences/Privacy Settings/Input monitoring and allowing input monitoring for the Matlab I am running. I’ve allowed this - however I am still running into problems trying to get Matlab to register my keyboard.
Here I will list of some troubleshooting responses for context:
- When I run
devices = PsychHID(‘devices’)
’The ‘devices’ structure includes my keyboard (internal Apple keyboard) as the fourth device. When I run PsychHID(‘KbQueueCreate’) with deviceNumber = 4, I get the following error:
PsychHID(‘KbQueueCreate’, deviceNumber)
INTERNAL PSYCHTOOLBOX ERROR
error: PsychError_system
general description: Error reported by a system call
specific description: Failed to create event queue for detecting key press.
module name: PsychHID
subfunction call: KbQueueCreate
file name: OSX/PsychHID/PsychHIDStandardInterfaces.c
function name: PsychHIDOSKbQueueCreate
line number: 956
Error using PsychHID
See error message printed above.
When I run KbDemo, it will not accept key presses.
-
It may be important to note that when listing my devices, a device also designated as a ‘keyboard’ is listed, without any credentials it seems. This is shown as the second line in this structure:
-
I have the same problem with Psychtoolbox 3.0.16 and with Matlab2020a.
Has anyone experienced this problem and know a solution? Thank you!