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

this adds support for both number keys and shift+number keys #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jonschlinkert
Copy link

There are three other PRs for number keys, sorry for the noise. Hopefully the shift+number makes it worth it :)

…his adds support for both number keys and shift+number keys.

- resolves TooTallNate#11
- resolves TooTallNate#14
- resolves TooTallNate#16
// number
key.name = s;

} else if (s.length === 1 && '~!@#$%^&*()_+'.indexOf(s) !== -1) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this only be true for US-ASCII keyboards?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point. would you consider merging, to resolve this for US-ASCII keyboards, then we can work on support for non-US-ASCII? No worries either way, I'm happy to try to figure out a more robust solution.

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

Successfully merging this pull request may close these issues.

2 participants