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 10-key support. #137

Open
cthurston opened this issue Nov 3, 2014 · 1 comment
Open

Add 10-key support. #137

cthurston opened this issue Nov 3, 2014 · 1 comment

Comments

@cthurston
Copy link

Add to special keys _MAP
* : 106

Map the 10-key:
_tenKey = {
'96': 48,
'97': 49,
'98': 50,
'99': 51,
'100': 52,
'101': 53,
'102': 54,
'103': 55,
'104': 56,
'105': 57,
'107': 187,
'109': 189,
'111': 191,
'110': 190
},

Then in dispatch:
if (_tenKey[key]) key = _tenKey[key];

@cthurston cthurston changed the title Should add * : 106 to special keys _MAP Add 10-key support. Nov 4, 2014
@debbiemacomber2
Copy link

.

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