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

Keyboard-Specific Macros #30

Closed
glitchassassin opened this issue Nov 18, 2016 · 2 comments
Closed

Keyboard-Specific Macros #30

glitchassassin opened this issue Nov 18, 2016 · 2 comments

Comments

@glitchassassin
Copy link
Collaborator

Submitting this as a potential future enhancement. I will continue to research/experiment on my end.

On Windows, keyboard-specific events can be identified using a combination of the RawInput and KeyboardHook APIs. This has the limitation of not capturing system shortcuts like Win+D or Alt+Tab.

@boppreh
Copy link
Owner

boppreh commented Nov 18, 2016

That sounds exactly like what I need. Thank you.

@boppreh
Copy link
Owner

boppreh commented Aug 6, 2017

I'm happy to report that this is finally working, at least as a prototype. It still needs a lot more testing, because we are now running two event listeners that have to synchronized, but it officially Works On My Machine™. I also managed to avoid the "listener in a separate dll" that the article implements, so the library is still pure python.

I'm putting more details on the original issue I opened for this ( #21 ) and closing this one if you don't mind.

@boppreh boppreh closed this as completed Aug 6, 2017
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