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_wait() for *any* key? #115

Closed
tejasvi opened this issue Feb 12, 2021 · 2 comments
Closed

key_wait() for *any* key? #115

tejasvi opened this issue Feb 12, 2021 · 2 comments
Labels
question Further information is requested

Comments

@tejasvi
Copy link

tejasvi commented Feb 12, 2021

Ability to detect all keypresses would be very useful. In particular I am looking for a hook mechanism similar to the one in (now unmaintained) keyboard module.

@spyoungtech
Copy link
Owner

spyoungtech commented Feb 16, 2021

Yes, I see how this would be a very useful feature. Though, I'm not aware of any functionality in AutoHotkey that can do this. If it's possible to do with AHK, it should be possible to do with this wrapper.

InputHook might fit the bill, but has a somewhat different API than key_wait

You could always use AHK in combination with keyboard, too, if it works for this use case. I don't think that package is unmaintained/unsupported.

@spyoungtech spyoungtech added the question Further information is requested label May 21, 2021
@spyoungtech
Copy link
Owner

Closing for inactivity. Feel free to comment and I'll reopen or open a new issue if you still have questions

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

No branches or pull requests

2 participants