DirectX KeyMap

From TESCOSI --A site dedicated to mod users
Jump to: navigation, search

These are the codes necessary to do tasks such as specify a key in an INI file.

Key Decimal # Hex Code
[ 026 0x1A
' 040 0x28
] 027 0x1B
= 013 0x0D
/ 053 0x35
 ; 039 0x27
. 052 0x34
~ 041 0x29
- 012 0x0C
\ 043 0x2B
, 051 0x33
0 011 0x0B
1 002 0x02
2 003 0x03
3 004 0x04
4 005 0x05
5 006 0x06
6 007 0x07
7 008 0x08
8 009 0x09
9 010 0x0A
A 030 0x1E
B 048 0x38
Backspace 014 0x0E
C 046 0x2E
Caps Lock 058 0x3A
D 032 0x20
Down 208 0xD0
E 018 0x12
Enter 028 0x1C
Escape 001 0x01
F 033 0x21
F1 059 0x3B
F10 068 0x44
F11 087 0x57
F12 088 0x58
F2 060 0x3C
F3 061 0x3D
F4 062 0x3E
F5 063 0x3F
F6 064 0x40
F7 065 0x41
F8 066 0x42
F9 067 0x43
G 034 0x22
H 035 0x23
I 023 0x17
J 036 0x24
K 037 0x25
L 038 0x26
Left Alt 056 0x38
Left Arrow 203 0xCB
Left Ctrl 029 0x1D
Left Mouse Button 256 0x100
Left Shift 042 0x2A
M 050 0x32
Middle/Wheel Mouse Button 258 0x102
Mouse Button 3 259 0x103
Mouse Button 4 260 0x104
Mouse Button 5 261 0x105
Mouse Button 6 262 0x106
Mouse Button 7 263 0x107
Mouse Wheel Down 265 0x109
Mouse Wheel Up 264 0x108
N 049 0x31
NUM+ 078 0x4E
NUM* 055 0x37
NUM- 074 0x4A
NUM/ 181 0xB5
NUM. 083 0x53
NUM0 082 0x52
NUM1 079 0x4F
NUM2 080 0x50
NUM3 081 0x52
NUM4 075 0x4B
NUM5 076 0x4C
NUM6 077 0x4D
NUM7 071 0x48
NUM8 072 0x47
NUM9 073 0x49
NUM Enter 156 0x9C
Num Lock 069 0x45
O 024 0x18
P 025 0x19
Q 016 0x10
R 019 0x13
Right Alt 184 0xB8
Right Arrow 205 0xCD
Right Ctrl 157 0x9D
Right Mouse Button 257 0x101
Right Shift 054 0x36
S 031 0x1F
Scroll Lock 070 0x46
Spacebar 057 0x39
T 020 0x14
Tab 015 0x0F
U 022 0x16
Up Arrow 200 0xC8
V 047 0x2F
W 017 0x11
X 045 0x2D
Y 021 0x15
Z 044 0x2C


See Also

External Links