Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TFA.InputAdapter.KEYCODE_TO_CODE = {
- 8: "Backspace",
- 9: "Tab",
- 12: "NumpadEqual",
- 13: "Enter",
- 16: "ShiftLeft",
- 17: "ControlLeft",
- 18: "AltLeft",
- 19: "Pause",
- 20: "CapsLock",
- 27: "Escape",
- 32: "Space",
- 33: "PageUp",
- 34: "PageDown",
- 35: "End",
- 36: "Home",
- 37: "ArrowLeft",
- 38: "ArrowUp",
- 39: "ArrowRight",
- 40: "ArrowDown",
- 44: "PrintScreen",
- 45: "Insert",
- 46: "Delete",
- 91: "MetaLeft",
- 92: "MetaRight",
- 93: "ContextMenu",
- 106: "NumpadMultiply",
- 107: "NumpadAdd",
- 109: "NumpadSubtract",
- 110: "NumpadDecimal",
- 111: "NumpadDivide",
- 144: "NumLock",
- 145: "ScrollLock",
- 186: "Semicolon",
- 187: "Equal",
- 188: "Comma",
- 189: "Minus",
- 190: "Period",
- 191: "Slash",
- 192: "Backquote",
- 193: "IntlRo",
- 194: "NumpadComma",
- 219: "BracketLeft",
- 220: "Backslash",
- 221: "BracketRight",
- 222: "Quote",
- 255: "IntlYen"
- };
- TFA.InputAdapter.UNIFY_CODE = {
- "": "Unidentified",
- OSLeft: "MetaLeft",
- OSRight: "MetaRight"
- };
- TFA.InputAdapter.CODE_TO_NAME = {
- Equal: "Equals",
- BracketLeft: "[",
- BracketRight: "]",
- ControlLeft: "Left Control",
- ShiftLeft: "Left Shift",
- ShiftRight: "Right Shift",
- AltLeft: "Left Alt",
- CapsLock: "Caps Lock",
- ScrollLock: "Scroll Lock",
- PrintScreen: "Print Screen",
- IntlBackslash: "Backslash (intl.)",
- MediaTrackNext: "Next Track",
- ControlRight: "Right Control",
- AudioVolumeMute: "Mute",
- VolumeMute: "Mute",
- MediaPlayPause: "Play / Pause",
- MediaStop: "Stop",
- AudioVolumeDown: "Volume Down",
- VolumeDown: "Volume Down",
- AudioVolumeUp: "Volume Up",
- VolumeUp: "Volume Up",
- BrowserHome: "Browser Home",
- AltRight: "Right Alt",
- NumLock: "Num Lock",
- ArrowUp: "Up Arrow",
- ArrowLeft: "Left Arrow",
- ArrowRight: "Right Arrow",
- ArrowDown: "Down Arrow",
- BrowserSearch: "Browser Search",
- BrowserFavorites: "Browser Favorites",
- BrowserRefresh: "Browser Refresh",
- BrowserStop: "Browser Stop",
- BrowserForward: "Browser Forward",
- BrowserBack: "Browser Back"
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement