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

macOS: Double check if the CGEventFlags correctly get set #344

Open
pentamassiv opened this issue Oct 27, 2024 · 0 comments
Open

macOS: Double check if the CGEventFlags correctly get set #344

pentamassiv opened this issue Oct 27, 2024 · 0 comments

Comments

@pentamassiv
Copy link
Collaborator

In order to get rid of the sleep statements on macOS, the modifier flags need to be set manually. I looked at the flags from the previous implementation and set them the same way manually. There were known issues with the previous implementation so it probably is not 100% correct. The old implementation did not correctly set the CapsLock/ShiftLock flags. It also didn't set them correctly when using the fast_text function. We should observe real keypresses and copy their behavior instead. I am especially concerned with the "sticky keys" mentioned in PR #329. Those might be wrong.

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

No branches or pull requests

1 participant