dustyroo

keys

Dec 1st, 2017
1,148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.08 KB | None | 0 0
  1. The left side also equals the right side.
  2.  
  3. so if you make it Numpad 1 it will also use just 1. so if you change guns with 1 key you will activate the script even though you did not push Numpad 1. How it works sorry.
  4.  
  5. {
  6. 'escape': 'esc',
  7. 'return': 'enter',
  8. 'del': 'delete',
  9. 'control': 'ctrl',
  10. 'altgr': 'alt gr',
  11.  
  12. 'left arrow': 'left',
  13. 'up arrow': 'up',
  14. 'down arrow': 'down',
  15. 'right arrow': 'right',
  16.  
  17. ' ': 'space', # Prefer to spell out keys that would be hard to read.
  18. '\x1b': 'esc',
  19. '\x08': 'backspace',
  20. '\n': 'enter',
  21. '\t': 'tab',
  22. '\r': 'enter',
  23.  
  24. 'scrlk': 'scroll lock',
  25. 'prtscn': 'print screen',
  26. 'prnt scrn': 'print screen',
  27. 'snapshot': 'print screen',
  28. 'ins': 'insert',
  29. 'pause break': 'pause',
  30. 'ctrll lock': 'caps lock',
  31. 'capslock': 'caps lock',
  32. 'number lock': 'num lock',
  33. 'numlock:': 'num lock',
  34. 'space bar': 'space',
  35. 'spacebar': 'space',
  36. 'linefeed': 'enter',
  37. 'win': 'windows',
  38.  
  39. # Mac keys
  40. 'command': 'windows',
  41. 'control': 'ctrl',
  42. 'option': 'alt',
  43.  
  44. 'app': 'menu',
  45. 'apps': 'menu',
  46. 'application': 'menu',
  47. 'applications': 'menu',
  48.  
  49. 'pagedown': 'page down',
  50. 'pageup': 'page up',
  51. 'pgdown': 'page down',
  52. 'pgup': 'page up',
  53. 'next': 'page down', # This looks wrong, but this is how Linux reports.
  54. 'prior': 'page up',
  55.  
  56. 'underscore': '_',
  57. 'equal': '=',
  58. 'minplus': '+',
  59. 'plus': '+',
  60. 'add': '+',
  61. 'subtract': '-',
  62. 'minus': '-',
  63. 'multiply': '*',
  64. 'asterisk': '*',
  65. 'divide': '/',
  66.  
  67. 'question': '?',
  68. 'exclam': '!',
  69. 'slash': '/',
  70. 'bar': '|',
  71. 'backslash': '\\',
  72. 'braceleft': '{',
  73. 'braceright': '}',
  74. 'bracketleft': '[',
  75. 'bracketright': ']',
  76. 'parenleft': '(',
  77. 'parenright': ')',
  78.  
  79. 'period': '.',
  80. 'dot': '.',
  81. 'comma': ',',
  82. 'semicolon': ';',
  83. 'colon': ':',
  84.  
  85. 'less': '<',
  86. 'greater': '>',
  87. 'ampersand': '&',
  88. 'at': '@',
  89. 'numbersign': '#',
  90. 'hash': '#',
  91. 'hashtag': '#',
  92.  
  93. 'dollar': '$',
  94. 'sterling': '£',
  95. 'pound': '£',
  96. 'yen': '¥',
  97. 'euro': '€',
  98. 'cent': '¢',
  99. 'currency': '¤',
  100. 'registered': '®',
  101. 'copyright': '©',
  102. 'notsign': '¬',
  103. 'percent': '%',
  104. 'diaeresis': '"',
  105. 'quotedbl': '"',
  106. 'onesuperior': '¹',
  107. 'twosuperior': '²',
  108. 'threesuperior': '³',
  109. 'onehalf': '½',
  110. 'onequarter': '¼',
  111. 'threequarters': '¾',
  112. 'paragraph': '¶',
  113. 'section': '§',
  114. 'ssharp': '§',
  115. 'division': '÷',
  116. 'questiondown': '¿',
  117. 'exclamdown': '¡',
  118. 'degree': '°',
  119. 'guillemotright': '»',
  120. 'guillemotleft': '«',
  121.  
  122. 'acute': '´',
  123. 'agudo': '´',
  124. 'grave': '`',
  125. 'tilde': '~',
  126. 'asciitilde': '~',
  127. 'til': '~',
  128. 'cedilla': ',',
  129. 'circumflex': '^',
  130. 'apostrophe': '\'',
  131.  
  132. 'adiaeresis': 'ä',
  133. 'udiaeresis': 'ü',
  134. 'odiaeresis': 'ö',
  135. 'oe': 'Œ',
  136. 'oslash': 'ø',
  137. 'ooblique': 'Ø',
  138. 'ccedilla': 'ç',
  139. 'ntilde': 'ñ',
  140. 'eacute': 'é',
  141. 'uacute': 'ú',
  142. 'oacute': 'ó',
  143. 'thorn': 'þ',
  144. 'ae': 'æ',
  145. 'eth': 'ð',
  146. 'masculine': 'º',
  147. 'feminine': 'ª',
  148. 'iacute': 'í',
  149. 'aacute': 'á',
  150. 'mu': 'Μ',
  151. 'aring': 'å',
  152.  
  153. 'zero': '0',
  154. 'one': '1',
  155. 'two': '2',
  156. 'three': '3',
  157. 'four': '4',
  158. 'five': '5',
  159. 'six': '6',
  160. 'seven': '7',
  161. 'eight': '8',
  162. 'nine': '9',
  163.  
  164. 'play/pause': 'play/pause media',
  165.  
  166. 'num multiply': '*',
  167. 'num divide': '/',
  168. 'num add': '+',
  169. 'num plus': '+',
  170. 'num minus': '-',
  171. 'num sub': '-',
  172. 'num enter': 'enter',
  173. 'num 0': '0',
  174. 'num 1': '1',
  175. 'num 2': '2',
  176. 'num 3': '3',
  177. 'num 4': '4',
  178. 'num 5': '5',
  179. 'num 6': '6',
  180. 'num 7': '7',
  181. 'num 8': '8',
  182. 'num 9': '9',
  183.  
  184. 'left win': 'left windows',
  185. 'right win': 'right windows',
  186. 'left control': 'left ctrl',
  187. 'right control': 'right ctrl',
  188. 'left menu': 'left alt', # Windows...
  189. }
Advertisement
Add Comment
Please, Sign In to add comment