MCPcopy Create free account
hub / github.com/RobertWHurst/KeyboardJS / bindKeyCode

Method bindKeyCode

lib/locale.js:15–21  ·  view source on GitHub ↗
(keyCode, keyNames)

Source from the content-addressed store, hash-verified

13 }
14
15 bindKeyCode(keyCode, keyNames) {
16 if (typeof keyNames === 'string') {
17 keyNames = [keyNames];
18 }
19
20 this._keyMap[keyCode] = keyNames;
21 };
22
23 bindMacro(keyComboStr, keyNames) {
24 if (typeof keyNames === 'string') {

Callers 3

usFunction · 0.80
keyboard.spec.jsFile · 0.80
locale.spec.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected