device_query
device_query copied to clipboard
Right shift/control/etc. get reported as left buttons on MacOS
trafficstars
From a different issue:
When recording keystrokes via dq, when encountering these keys (SHIFT、OPTION、CONTROL), it will be recorded as 'left' regardless of whether the press is 'left' or 'right'.
This only appears to be happening on MacOS. We'll need to figure out if this is a device_query or dependency issue.
I've done some testing with the underlying readkey library, it seems to be a macOS limitation within CGEventSourceKeyState. It might be worth trying to find another underlying library for macOS.