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

Unable to capture ? #484

Open
pedrolamas opened this issue Apr 2, 2024 · 1 comment
Open

Unable to capture ? #484

pedrolamas opened this issue Apr 2, 2024 · 1 comment

Comments

@pedrolamas
Copy link

First of all, thank you for your work on this library!

I have been trying to capture when the user enters ?, but that does not seem to work...

For my own keyboard layout, I know I could use Shift+/, but that will not match other layouts.

I know that it I capture '*' then I can use event.key === '?' and that does work, but seems to defeat the purpose of this library!

@pedrolamas
Copy link
Author

Another example is for capturing # key.

The different keyboard layouts seem to cause an issue with this:

image

For US layout, it can be done with Shift+3, but in the UK layout it is just #

How do we go ahead and use this library for these cases?

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