1 module PixelPerfectEngine.system.input.scancode; 2 3 /** 4 * USB HID compatible keyboard scancodes. 5 */ 6 public enum ScanCode : uint { 7 A = 4, 8 B = 5, 9 C = 6, 10 D = 7, 11 E = 8, 12 F = 9, 13 G = 10, 14 H = 11, 15 I = 12, 16 J = 13, 17 K = 14, 18 L = 15, 19 M = 16, 20 N = 17, 21 O = 18, 22 P = 19, 23 Q = 20, 24 R = 21, 25 S = 22, 26 T = 23, 27 U = 24, 28 V = 25, 29 W = 26, 30 X = 27, 31 Y = 28, 32 Z = 29, 33 34 n1 = 30, 35 n2 = 31, 36 n3 = 32, 37 n4 = 33, 38 n5 = 34, 39 n6 = 35, 40 n7 = 36, 41 n8 = 37, 42 n9 = 38, 43 n0 = 39, 44 45 ENTER = 40, 46 ESCAPE = 41, 47 BACKSPACE = 42, 48 TAB = 43, 49 SPACE = 44, 50 51 MINUS = 45, 52 EQUALS = 46, 53 LEFTBRACKET = 47, 54 RIGHTBRACKET = 48, 55 BACKSLASH = 49, 56 NONUSLASH = 50, 57 SEMICOLON = 51, 58 APOSTROPHE = 52, 59 GRAVE = 53, 60 COMMA = 54, 61 PERIOD = 55, 62 SLASH = 56, 63 CAPSLOCK = 57, 64 65 F1 = 58, 66 F2 = 59, 67 F3 = 60, 68 F4 = 61, 69 F5 = 62, 70 F6 = 63, 71 F7 = 64, 72 F8 = 65, 73 F9 = 66, 74 F10 = 67, 75 F11 = 68, 76 F12 = 69, 77 78 PRINTSCREEN = 70, 79 SCROLLLOCK = 71, 80 PAUSE = 72, 81 INSERT = 73, 82 HOME = 74, 83 PAGEUP = 75, 84 DELETE = 76, 85 END = 77, 86 PAGEDOWN = 78, 87 RIGHT = 79, 88 LEFT = 80, 89 DOWN = 81, 90 UP = 82, 91 92 NUMLOCK = 83, 93 NP_DIVIDE = 84, 94 NP_MULTIPLY = 85, 95 NP_MINUS = 86, 96 NP_PLUS = 87, 97 NP_ENTER = 88, 98 99 np1 = 89, 100 np2 = 90, 101 np3 = 91, 102 np4 = 92, 103 np5 = 93, 104 np6 = 94, 105 np7 = 95, 106 np8 = 96, 107 np9 = 97, 108 np0 = 98, 109 110 NP_PERIOD = 99, 111 112 NONUSBACKSLASH = 100, 113 APPLICATION = 101, 114 115 NP_EQUALS = 102, 116 117 F13 = 104, 118 F14 = 105, 119 F15 = 106, 120 F16 = 107, 121 F17 = 108, 122 F18 = 109, 123 F19 = 110, 124 F20 = 111, 125 F21 = 112, 126 F22 = 113, 127 F23 = 114, 128 F24 = 115, 129 130 EXECUTE = 116, 131 HELP = 117, 132 MENU = 118, 133 SELECT = 119, 134 STOP = 120, 135 REDO = 121, 136 UNDO = 122, 137 CUT = 123, 138 COPY = 124, 139 PASTE = 125, 140 FIND = 126, 141 MUTE = 127, 142 VOLUME_UP = 128, 143 VOLUME_DOWN = 129, 144 145 NP_COMMA = 133, 146 NP_EQUALSAS400 = 134, 147 148 INTERNATIONAL1 = 135, 149 INTERNATIONAL2 = 136, 150 INTERNATIONAL3 = 137, 151 INTERNATIONAL4 = 138, 152 INTERNATIONAL5 = 139, 153 INTERNATIONAL6 = 140, 154 INTERNATIONAL7 = 141, 155 INTERNATIONAL8 = 142, 156 INTERNATIONAL9 = 143, 157 158 LANGUAGE1 = 144, 159 LANGUAGE2 = 145, 160 LANGUAGE3 = 146, 161 LANGUAGE4 = 147, 162 LANGUAGE5 = 148, 163 LANGUAGE6 = 149, 164 LANGUAGE7 = 150, 165 LANGUAGE8 = 151, 166 LANGUAGE9 = 152, 167 168 ALTERASE = 153, 169 SYSREQ = 154, 170 CANCEL = 155, 171 PRIOR = 157, 172 ENTER2 = 158, 173 SEPARATOR = 159, 174 OUT = 160, 175 OPERATE = 161, 176 CLEARAGAIN = 162, 177 CRSEL = 163, 178 EXSEL = 164, 179 180 NP00 = 176, 181 NP000 = 177, 182 THROUSANDSEPAR = 178, 183 HUNDREDSSEPAR = 179, 184 CURRENCYUNIT = 180, 185 CURRENCYSUBUNIT = 181, 186 NP_LEFTPAREN = 182, 187 NP_RIGHTPAREN = 183, 188 NP_LEFTBRACE = 184, 189 NP_RIGHTBRACE = 185, 190 NP_TAB = 186, 191 NP_BACKSPACE = 187, 192 NP_A = 188, 193 NP_B = 189, 194 NP_C = 190, 195 NP_D = 191, 196 NP_E = 192, 197 NP_F = 193, 198 NP_XOR = 194, 199 NP_POWER = 195, 200 NP_PERCENT = 196, 201 NP_LESS = 197, 202 NP_GREATER = 198, 203 NP_AMPERSAND = 199, 204 NP_DBAMPERSAND = 200, 205 NP_VERTICALBAR = 201, 206 NP_DBVERTICALBAR= 202, 207 NP_COLON = 203, 208 NP_HASH = 204, 209 NP_SPACE = 205, 210 NP_AT = 206, 211 NP_EXCLAM = 207, 212 NP_MEMSTORE = 208, 213 NP_MEMRECALL = 209, 214 NP_MEMCLEAR = 210, 215 NP_MEMADD = 211, 216 NP_MEMSUBSTRACT = 212, 217 NP_MEMMULTIPLY = 213, 218 NP_MEMDIVIDE = 214, 219 NP_PLUSMINUS = 215, 220 NP_CLEAR = 216, 221 NP_CLEARENTRY = 217, 222 NP_BINARY = 218, 223 NP_OCTAL = 219, 224 NP_DECIMAL = 220, 225 NP_HEXADECIMAL = 221, 226 227 LCTRL = 224, 228 LSHIFT = 225, 229 LALT = 226, 230 LGUI = 227, 231 RCTRL = 228, 232 RSHIFT = 229, 233 RALT = 230, 234 RGUI = 231, 235 236 AUDIONEXT = 258, 237 AUDIOPREV = 259, 238 AUDIOSTOP = 260, 239 AUDIOPLAY = 261, 240 AUDIOMUTE = 262, 241 MEDIASELECT = 263, 242 WWW = 264, 243 MAIL = 265, 244 CALCULATOR = 266, 245 COMPUTER = 267, 246 }