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

Can hotKey support double-clicking key like 'ctrl+ctrl'? #648

Open
dcming opened this issue Jun 21, 2024 · 0 comments
Open

Can hotKey support double-clicking key like 'ctrl+ctrl'? #648

dcming opened this issue Jun 21, 2024 · 0 comments

Comments

@dcming
Copy link

dcming commented Jun 21, 2024

I would like to be able to trigger a function by double-clicking the Ctrl or Alt keys, similar to the Listary software. This would be more convenient to use. I'm wondering if the hotKey function can support this:
keyboard.add_hotkey('ctrl+ctrl', print, args=('triggered', 'hotkey'), suppress=True)

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

1 participant