Default more keys to use keypress #37

Closed
ccampbell opened this Issue Jul 10, 2012 · 0 comments

Projects

None yet

1 participant

@ccampbell
Owner

See #36

I'm not sure why, but there are some keyCode mappings forcing certain keys to use keydown events. I think these can be updated to default to keypress and then only do the lookups if you explicitly bind a keydown or keyup event to them.

@ccampbell ccampbell added a commit that closed this issue Jul 10, 2012
@ccampbell Support more keypress events. Fixes #37
- Move special keys that can still use keypress into their own
dictionary
- Check against both dictionaries to find a character

This makes it so anything that can use keypress will vs. defaulting to
keydown.
46d910a
@ccampbell ccampbell closed this in 46d910a Jul 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment