Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ostrosco opened this issue Jul 6, 2022 · 1 comment
Open

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

ostrosco opened this issue Jul 6, 2022 · 1 comment

Comments

@ostrosco
Copy link
Owner

ostrosco commented Jul 6, 2022

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.

@pierr3
Copy link

pierr3 commented Dec 12, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants