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

[Feat] Long press hotkeys #291

Open
Harjot1Singh opened this issue Sep 16, 2020 · 0 comments
Open

[Feat] Long press hotkeys #291

Harjot1Singh opened this issue Sep 16, 2020 · 0 comments

Comments

@Harjot1Singh
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The library supports sequences, and chords, which is great for triggering distinct actions in an application.

Suppose you had a ctrl+c hotkey, for copying. Makes sense to everyone, and is intuitive. What if you wanted to display a context menu or carry out an "advanced" execution of the same action?

Perhaps an answer to providing another "dimension" to hotkeys could be a long-press scenario, similar to how long-pressing/holding on mobile devices is a distinct action over a tap.

Describe the solution you'd like
Support for long-press hotkey declarations and configurable durations. I'm not sure what this could look like yet, if you wanted duration configuration at the hotkey-level.

Describe alternatives you've considered
Application-level mapping of repeating hotkey combos, such as hhhhhh to mean a long press hotkey.

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