YubiSwitch 0.16 was not working on my Mac (M1 Pro, macOS 12.6), even after double checking product&vendor ids, uninstalling, and making sure to set the Accessibility permissions.
I noticed this message in the logs:
com.pallotron.yubiswitch.helper[9168]: Failed to open HID device, error: -536870174
With a bit of googling, I found that the error should be kIOReturnNotPermitted and got to this post: https://nachtimwald.com/2020/11/08/macos-iohidmanager-permission-issue/
Their solution (for a different device/app) also worked for me: allowing “Security & Privacy” -> Privacy -> “Input Monitoring” for YubiSwitch (in addition to "Accessibility" as mentioned in README).
YubiSwitch 0.16 was not working on my Mac (M1 Pro, macOS 12.6), even after double checking product&vendor ids, uninstalling, and making sure to set the Accessibility permissions.
I noticed this message in the logs:
With a bit of googling, I found that the error should be
kIOReturnNotPermittedand got to this post: https://nachtimwald.com/2020/11/08/macos-iohidmanager-permission-issue/Their solution (for a different device/app) also worked for me: allowing “Security & Privacy” -> Privacy -> “Input Monitoring” for YubiSwitch (in addition to "Accessibility" as mentioned in README).