Advertisement
Telinc1

Untitled

Jul 31st, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. TFA.InputAdapter.KEYCODE_TO_CODE = {
  2. 8: "Backspace",
  3. 9: "Tab",
  4. 12: "NumpadEqual",
  5. 13: "Enter",
  6. 16: "ShiftLeft",
  7. 17: "ControlLeft",
  8. 18: "AltLeft",
  9. 19: "Pause",
  10. 20: "CapsLock",
  11. 27: "Escape",
  12. 32: "Space",
  13. 33: "PageUp",
  14. 34: "PageDown",
  15. 35: "End",
  16. 36: "Home",
  17. 37: "ArrowLeft",
  18. 38: "ArrowUp",
  19. 39: "ArrowRight",
  20. 40: "ArrowDown",
  21. 44: "PrintScreen",
  22. 45: "Insert",
  23. 46: "Delete",
  24. 91: "MetaLeft",
  25. 92: "MetaRight",
  26. 93: "ContextMenu",
  27. 106: "NumpadMultiply",
  28. 107: "NumpadAdd",
  29. 109: "NumpadSubtract",
  30. 110: "NumpadDecimal",
  31. 111: "NumpadDivide",
  32. 144: "NumLock",
  33. 145: "ScrollLock",
  34. 186: "Semicolon",
  35. 187: "Equal",
  36. 188: "Comma",
  37. 189: "Minus",
  38. 190: "Period",
  39. 191: "Slash",
  40. 192: "Backquote",
  41. 193: "IntlRo",
  42. 194: "NumpadComma",
  43. 219: "BracketLeft",
  44. 220: "Backslash",
  45. 221: "BracketRight",
  46. 222: "Quote",
  47. 255: "IntlYen"
  48. };
  49.  
  50. TFA.InputAdapter.UNIFY_CODE = {
  51. "": "Unidentified",
  52. OSLeft: "MetaLeft",
  53. OSRight: "MetaRight"
  54. };
  55.  
  56. TFA.InputAdapter.CODE_TO_NAME = {
  57. Equal: "Equals",
  58. BracketLeft: "[",
  59. BracketRight: "]",
  60. ControlLeft: "Left Control",
  61. ShiftLeft: "Left Shift",
  62. ShiftRight: "Right Shift",
  63. AltLeft: "Left Alt",
  64. CapsLock: "Caps Lock",
  65. ScrollLock: "Scroll Lock",
  66. PrintScreen: "Print Screen",
  67. IntlBackslash: "Backslash (intl.)",
  68. MediaTrackNext: "Next Track",
  69. ControlRight: "Right Control",
  70. AudioVolumeMute: "Mute",
  71. VolumeMute: "Mute",
  72. MediaPlayPause: "Play / Pause",
  73. MediaStop: "Stop",
  74. AudioVolumeDown: "Volume Down",
  75. VolumeDown: "Volume Down",
  76. AudioVolumeUp: "Volume Up",
  77. VolumeUp: "Volume Up",
  78. BrowserHome: "Browser Home",
  79. AltRight: "Right Alt",
  80. NumLock: "Num Lock",
  81. ArrowUp: "Up Arrow",
  82. ArrowLeft: "Left Arrow",
  83. ArrowRight: "Right Arrow",
  84. ArrowDown: "Down Arrow",
  85. BrowserSearch: "Browser Search",
  86. BrowserFavorites: "Browser Favorites",
  87. BrowserRefresh: "Browser Refresh",
  88. BrowserStop: "Browser Stop",
  89. BrowserForward: "Browser Forward",
  90. BrowserBack: "Browser Back"
  91. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement