Advertisement
Guest User

GM

a guest
Sep 14th, 2017
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.61 KB | None | 0 0
  1. switch (argument0)
  2. {
  3. case 8: return "BACKSPACE"; break;
  4. case 9: return "TAB"; break;
  5.  
  6. case 13: return "ENTER"; break;
  7.  
  8. case 19: return "PAUSE/BREAK"; break;
  9. case 20: return "CAPS LOCK"; break;
  10.  
  11. case 27: return "ESC"; break;
  12.  
  13. case 32: return "SPACE"; break;
  14. case 33: return "PAGEUP"; break;
  15. case 34: return "PAGEDOWN"; break;
  16. case 35: return "END"; break;
  17. case 36: return "HOME"; break;
  18. case 37: return "LEFT"; break;
  19. case 38: return "UP"; break;
  20. case 39: return "RIGHT"; break;
  21. case 40: return "DOWN"; break;
  22.  
  23. case 45: return "INSERT"; break;
  24. case 46: return "DELETE"; break;
  25.  
  26. case 48: return "0"; break;
  27. case 49: return "1"; break;
  28. case 50: return "2"; break;
  29. case 51: return "3"; break;
  30. case 52: return "4"; break;
  31. case 53: return "5"; break;
  32. case 54: return "6"; break;
  33. case 55: return "7"; break;
  34. case 56: return "8"; break;
  35. case 57: return "9"; break;
  36.  
  37. case 65: return "A"; break;
  38. case 66: return "B"; break;
  39. case 67: return "C"; break;
  40. case 68: return "D"; break;
  41. case 69: return "E"; break;
  42. case 70: return "F"; break;
  43. case 71: return "G"; break;
  44. case 72: return "H"; break;
  45. case 73: return "I"; break;
  46. case 74: return "J"; break;
  47. case 75: return "K"; break;
  48. case 76: return "L"; break;
  49. case 77: return "M"; break;
  50. case 78: return "N"; break;
  51. case 79: return "O"; break;
  52. case 80: return "P"; break;
  53. case 81: return "Q"; break;
  54. case 82: return "R"; break;
  55. case 83: return "S"; break;
  56. case 84: return "T"; break;
  57. case 85: return "U"; break;
  58. case 86: return "V"; break;
  59. case 87: return "W"; break;
  60. case 88: return "X"; break;
  61. case 89: return "Y"; break;
  62. case 90: return "Z"; break;
  63. case 91: return "LEXPLORER"; break;
  64. case 92: return "REXPLORER"; break;
  65.  
  66. case 96: return "NUM0"; break;
  67. case 97: return "NUM1"; break;
  68. case 98: return "NUM2"; break;
  69. case 99: return "NUM3"; break;
  70. case 100: return "NUM4"; break;
  71. case 101: return "NUM5"; break;
  72. case 102: return "NUM6"; break;
  73. case 103: return "NUM7"; break;
  74. case 104: return "NUM8"; break;
  75. case 105: return "NUM9"; break;
  76.  
  77. case 106: return "*"; break;
  78. case 107: return "+"; break;
  79. case 109: return "-"; break;
  80. case 110: return "."; break;
  81. case 111: return "/"; break;
  82.  
  83. case 112: return "F1"; break;
  84. case 113: return "F2"; break;
  85. case 114: return "F3"; break;
  86. case 115: return "F4"; break;
  87. case 116: return "F5"; break;
  88. case 117: return "F6"; break;
  89. case 118: return "F7"; break;
  90. case 119: return "F8"; break;
  91. case 120: return "F9"; break;
  92. case 121: return "F10"; break;
  93. case 122: return "F11"; break;
  94. case 123: return "F12"; break;
  95.  
  96. case 144: return "NUM LOCK"; break;
  97. case 145: return "SCROLL LOCK"; break;
  98.  
  99. case 160: return "LSHIFT"; break;
  100. case 161: return "RSHIFT"; break;
  101. case 162: return "LCTRL"; break;
  102. case 163: return "RCTRL"; break;
  103. case 164: return "LALT"; break;
  104. case 165: return "RALT"; break;
  105.  
  106. case 186: return ";"; break;
  107. case 187: return "="; break;
  108. case 188: return ","; break;
  109. case 189: return "_"; break;
  110. case 190: return "."; break;
  111. case 191: return "/"; break;
  112. case 192: return "~"; break;
  113.  
  114. case 219: return "["; break;
  115. case 220: return "|"; break;
  116. case 221: return "]"; break;
  117. case 222: return "'"; break;
  118.  
  119. default: return "INVALID"
  120. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement