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

numpad0 keycode missing #66

Closed
plko opened this issue Feb 8, 2013 · 2 comments
Closed

numpad0 keycode missing #66

plko opened this issue Feb 8, 2013 · 2 comments

Comments

@plko
Copy link
Contributor

plko commented Feb 8, 2013

In input.js line 75:var numpadkeys = ["numpad1","numpad2","numpad3","numpad4","numpad5","numpad6","numpad7","numpad8","numpad9"]

This make numpad1(keycode:97) actually trigger by the numpad0(keycode:96), I think here should add "numpad0" at first.

Because in input.js line 81:for(var i = 0; numpadkeys[i]; i++) { k[96+i] = numpadkeys[i] }
This is start from keycode 96, where is numpad0's keycode.

Thanks!

@ippa
Copy link
Owner

ippa commented Feb 8, 2013

could you wrap up a patch? I'll merge it

@ippa
Copy link
Owner

ippa commented Mar 2, 2013

this has been merged.

@ippa ippa closed this as completed Mar 2, 2013
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

2 participants