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

Add double tap key helper #21

Open
mesqueeb opened this issue Mar 17, 2019 · 4 comments
Open

Add double tap key helper #21

mesqueeb opened this issue Mar 17, 2019 · 4 comments

Comments

@mesqueeb
Copy link

mesqueeb commented Mar 17, 2019

I am building a web app and have all my keyboard shortcuts set with this package.
Thank you so much. ❤️

One keyboard shortcut I would like to set is "double tap the a key" (or any other key)

I know it's currently not possible, but I'd love to have this feature in the near future!!! 🐬

@posva posva changed the title [Feature Request] Double tap key shortcut Double tap key shortcut Mar 17, 2019
@posva
Copy link
Collaborator

posva commented Mar 17, 2019

I think triple could also be useful
This looks easy to do but it needs more thinking about conflicts with modifiers and stuff like that. Also, I don't want to bloat the library, this should be achieved with a helper function for event handlers and not that can be tree shaken

@shentao
Copy link
Owner

shentao commented Mar 17, 2019

That is indeed an interesting idea! I’m also all for having a helper function exposed separately.

@mesqueeb
Copy link
Author

Is there any manual work-around you can advise for the time being? Thanks a lot!!

@posva
Copy link
Collaborator

posva commented Mar 22, 2019

Pretty much code the logic yourself 😄

@mesqueeb mesqueeb changed the title Double tap key shortcut [feature request] Double tap key shortcut Jul 20, 2019
@posva posva changed the title [feature request] Double tap key shortcut Add double tap key helper Jul 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants