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

key.toggle() doesn't work properly on OS X #1

Open
paulie-g opened this issue Sep 15, 2017 · 0 comments
Open

key.toggle() doesn't work properly on OS X #1

paulie-g opened this issue Sep 15, 2017 · 0 comments
Labels

Comments

@paulie-g
Copy link
Owner

Issue by msanders
Sunday Jan 10, 2010 at 23:11 GMT
Originally opened as autopilot-rs#2


E.g., the output of the following should be 'A':

key.toggle(key.K_SHIFT, True)
key.tap('a')
key.toggle(key.K_SHIFT, False)

But on OS X, it is merely 'a'.

This appears to be a bug with CGEventCreateKeyboardEvent(); see: http://lists.apple.com/archives/quartz-dev/2009/Dec/msg00067.html

Is there an alternative (Carbon, maybe?) function we can use in the meantime?

@paulie-g paulie-g added the bug label Sep 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant