Difference between revisions of "Template:DirectX Scancodes"
Jump to navigation
Jump to search
→Sample Key DX Scancodes: added mouse button scancodes
imported>Quetzilla |
imported>Quetzilla (→Sample Key DX Scancodes: added mouse button scancodes) |
||
Line 2: | Line 2: | ||
<pre> | <pre> | ||
Hex Dec Button | Hex Dec Button | ||
0x01 | 0x01 1 Escape | ||
0x02 | 0x02 2 1 | ||
0x03 | 0x03 3 2 | ||
0x04 | 0x04 4 3 | ||
... | ... | ||
0x09 | 0x09 9 8 | ||
0x0A | 0x0A 10 9 | ||
0x0B | 0x0B 11 0 | ||
... | ... | ||
0x0E | 0x0E 14 Backspace | ||
--- | --- | ||
0x10 | 0x10 16 Q | ||
0x11 | 0x11 17 W | ||
0x12 | 0x12 18 E | ||
... | ... | ||
0x17 | 0x17 23 I | ||
0x18 | 0x18 24 O | ||
0x19 | 0x19 25 P | ||
--- | --- | ||
0x1C | 0x1C 28 Enter | ||
0x1D | 0x1D 29 Left Control | ||
--- | --- | ||
0x1E | 0x1E 30 A | ||
0x1F | 0x1F 31 S | ||
0x20 | 0x20 32 D | ||
... | ... | ||
0x24 | 0x24 36 J | ||
0x25 | 0x25 37 K | ||
0x26 | 0x26 38 L | ||
--- | --- | ||
0x29 | 0x29 41 ~(Console) | ||
--- | --- | ||
0x2A | 0x2A 42 Left Shift | ||
--- | --- | ||
0x2C | 0x2C 44 Z | ||
0x2D | 0x2D 45 X | ||
0x2E | 0x2E 46 C | ||
0x2F | 0x2F 47 V | ||
0x30 | 0x30 48 B | ||
0x31 | 0x31 49 N | ||
0x32 | 0x32 50 M | ||
--- | --- | ||
0x36 | 0x36 54 Right Shift | ||
0x37 | 0x37 55 NUM* | ||
0x38 | 0x38 56 Left Alt | ||
0x39 | 0x39 57 Spacebar | ||
0x3A | 0x3A 58 Caps Lock | ||
--- | --- | ||
0x3B | 0x3B 59 F1 | ||
0x3C | 0x3C 60 F2 | ||
0x3D | 0x3D 61 F3 | ||
... | ... | ||
0x42 | 0x42 66 F8 | ||
0x43 | 0x43 67 F9 | ||
0x44 | 0x44 68 F10 | ||
0x45 | 0x45 69 Num-Lock | ||
0x46 | 0x46 70 Scroll-Lock | ||
0x47 | 0x47 71 NUM7 | ||
0x48 | 0x48 72 NUM8 | ||
0x49 | 0x49 73 NUM9 | ||
0x4A | 0x4A 74 NUM- | ||
0x4B | 0x4B 75 NUM4 | ||
0x4C | 0x4C 76 NUM5 | ||
0x4D | 0x4D 77 NUM6 | ||
0x4E | 0x4E 78 NUM+ | ||
0x4F | 0x4F 79 NUM1 | ||
0x50 | 0x50 80 NUM2 | ||
0x51 | 0x51 81 NUM3 | ||
0x52 | 0x52 82 NUM0 | ||
0x53 | 0x53 83 NUM. | ||
--- | --- | ||
0x57 | 0x57 87 F11 | ||
0x58 | 0x58 88 F12 | ||
--- | --- | ||
0x9C | 0x9C 156 NUM Enter | ||
--- | --- | ||
0x9D | 0x9D 157 Right Control | ||
--- | --- | ||
0xB5 | 0xB5 181 NUM/ | ||
--- | --- | ||
0xB8 | 0xB8 184 Right Alt | ||
--- | --- | ||
0xC8 | 0xC8 200 Up Arrow | ||
0xCB | 0xCB 203 Left Arrow | ||
0xCD | 0xCD 205 Right Arrow | ||
0xD0 | 0xD0 208 Down Arrow | ||
--- | |||
0x100 256 Left Mouse Button | |||
0x101 257 Right Mouse Button | |||
0x102 258 Middle/Wheel Mouse Button | |||
0x103 259 Mouse Button 3 | |||
0x104 260 Mouse Button 4 | |||
0x105 261 Mouse Button 5 | |||
0x106 262 Mouse Button 6 | |||
0x107 263 Mouse Button 7 | |||
0x108 264 Mouse Wheel Up | |||
0x109 265 Mouse Wheel Down | |||
</pre> | </pre> | ||
A longer list can be found [http://www.gamespp.com/directx/directInputKeyboardScanCodes.html here]. | A longer list can be found [http://www.gamespp.com/directx/directInputKeyboardScanCodes.html here]. | ||
These can be converted into Virtual Keyboard codes using [[DX2VK]]. | These can be converted into Virtual Keyboard codes using [[DX2VK]]. |