device_query icon indicating copy to clipboard operation
device_query copied to clipboard

Right shift/control/etc. get reported as left buttons on MacOS

Open ostrosco opened this issue 3 years ago • 2 comments
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.

ostrosco avatar Jul 06 '22 15:07 ostrosco

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.

pierr3 avatar Dec 12 '22 00:12 pierr3