Scroll to navigation

VIRKEYCODE-USB(7) Virtualization Support VIRKEYCODE-USB(7)

Key code values for usb

List of usb key code values, with corresponding linux key code names

4 (0x4)
Key name KEY_A
5 (0x5)
Key name KEY_B
6 (0x6)
Key name KEY_C
7 (0x7)
Key name KEY_D
8 (0x8)
Key name KEY_E
9 (0x9)
Key name KEY_F
10 (0xa)
Key name KEY_G
11 (0xb)
Key name KEY_H
12 (0xc)
Key name KEY_I
13 (0xd)
Key name KEY_J
14 (0xe)
Key name KEY_K
15 (0xf)
Key name KEY_L
16 (0x10)
Key name KEY_M
17 (0x11)
Key name KEY_N
18 (0x12)
Key name KEY_O
19 (0x13)
Key name KEY_P
20 (0x14)
Key name KEY_Q
21 (0x15)
Key name KEY_R
22 (0x16)
Key name KEY_S
23 (0x17)
Key name KEY_T
24 (0x18)
Key name KEY_U
25 (0x19)
Key name KEY_V
26 (0x1a)
Key name KEY_W
27 (0x1b)
Key name KEY_X
28 (0x1c)
Key name KEY_Y
29 (0x1d)
Key name KEY_Z
30 (0x1e)
Key name KEY_1
31 (0x1f)
Key name KEY_2
32 (0x20)
Key name KEY_3
33 (0x21)
Key name KEY_4
34 (0x22)
Key name KEY_5
35 (0x23)
Key name KEY_6
36 (0x24)
Key name KEY_7
37 (0x25)
Key name KEY_8
38 (0x26)
Key name KEY_9
39 (0x27)
Key name KEY_0
40 (0x28)
Key name KEY_ENTER
41 (0x29)
Key name KEY_ESC
42 (0x2a)
Key name KEY_BACKSPACE
43 (0x2b)
Key name KEY_TAB
44 (0x2c)
Key name KEY_SPACE
45 (0x2d)
Key name KEY_MINUS
46 (0x2e)
Key name KEY_EQUAL
47 (0x2f)
Key name KEY_LEFTBRACE
48 (0x30)
Key name KEY_RIGHTBRACE
49 (0x31)
Key name KEY_BACKSLASH
50 (0x32)
Key name KEY_BACKSLASH
51 (0x33)
Key name KEY_SEMICOLON
52 (0x34)
Key name KEY_APOSTROPHE
53 (0x35)
Key name KEY_GRAVE
54 (0x36)
Key name KEY_COMMA
55 (0x37)
Key name KEY_DOT
56 (0x38)
Key name KEY_SLASH
57 (0x39)
Key name KEY_CAPSLOCK
58 (0x3a)
Key name KEY_F1
59 (0x3b)
Key name KEY_F2
60 (0x3c)
Key name KEY_F3
61 (0x3d)
Key name KEY_F4
62 (0x3e)
Key name KEY_F5
63 (0x3f)
Key name KEY_F6
64 (0x40)
Key name KEY_F7
65 (0x41)
Key name KEY_F8
66 (0x42)
Key name KEY_F9
67 (0x43)
Key name KEY_F10
68 (0x44)
Key name KEY_F11
69 (0x45)
Key name KEY_F12
70 (0x46)
Key name KEY_SYSRQ
71 (0x47)
Key name KEY_SCROLLLOCK
72 (0x48)
Key name KEY_PAUSE
73 (0x49)
Key name KEY_INSERT
74 (0x4a)
Key name KEY_HOME
75 (0x4b)
Key name KEY_PAGEUP
76 (0x4c)
Key name KEY_DELETE
77 (0x4d)
Key name KEY_END
78 (0x4e)
Key name KEY_PAGEDOWN
79 (0x4f)
Key name KEY_RIGHT
80 (0x50)
Key name KEY_LEFT
81 (0x51)
Key name KEY_DOWN
82 (0x52)
Key name KEY_UP
83 (0x53)
Key name KEY_NUMLOCK
84 (0x54)
Key name KEY_KPSLASH
85 (0x55)
Key name KEY_KPASTERISK
86 (0x56)
Key name KEY_KPMINUS
87 (0x57)
Key name KEY_KPPLUS
88 (0x58)
Key name KEY_KPENTER
89 (0x59)
Key name KEY_KP1
90 (0x5a)
Key name KEY_KP2
91 (0x5b)
Key name KEY_KP3
92 (0x5c)
Key name KEY_KP4
93 (0x5d)
Key name KEY_KP5
94 (0x5e)
Key name KEY_KP6
95 (0x5f)
Key name KEY_KP7
96 (0x60)
Key name KEY_KP8
97 (0x61)
Key name KEY_KP9
98 (0x62)
Key name KEY_KP0
99 (0x63)
Key name KEY_KPDOT
100 (0x64)
Key name KEY_102ND
101 (0x65)
Key name KEY_COMPOSE
102 (0x66)
Key name KEY_POWER
103 (0x67)
Key name KEY_KPEQUAL
104 (0x68)
Key name KEY_F13
105 (0x69)
Key name KEY_F14
106 (0x6a)
Key name KEY_F15
107 (0x6b)
Key name KEY_F16
108 (0x6c)
Key name KEY_F17
109 (0x6d)
Key name KEY_F18
110 (0x6e)
Key name KEY_F19
111 (0x6f)
Key name KEY_F20
112 (0x70)
Key name KEY_F21
113 (0x71)
Key name KEY_F22
114 (0x72)
Key name KEY_F23
115 (0x73)
Key name KEY_F24
116 (0x74)
Key name KEY_OPEN
117 (0x75)
Key name KEY_HELP
118 (0x76)
Key name KEY_MENU
119 (0x77)
Key name KEY_FRONT
120 (0x78)
Key name KEY_STOP
121 (0x79)
Key name KEY_AGAIN
122 (0x7a)
Key name KEY_UNDO
123 (0x7b)
Key name KEY_CUT
124 (0x7c)
Key name KEY_COPY
125 (0x7d)
Key name KEY_PASTE
126 (0x7e)
Key name KEY_FIND
127 (0x7f)
Key name KEY_MUTE
128 (0x80)
Key name KEY_VOLUMEUP
129 (0x81)
Key name KEY_VOLUMEDOWN
133 (0x85)
Key name KEY_KPCOMMA
135 (0x87)
Key name KEY_RO
136 (0x88)
Key name KEY_KATAKANAHIRAGANA
137 (0x89)
Key name KEY_YEN
138 (0x8a)
Key name KEY_HENKAN
139 (0x8b)
Key name KEY_MUHENKAN
140 (0x8c)
Key name KEY_KPJPCOMMA
144 (0x90)
Key name KEY_HANGEUL
145 (0x91)
Key name KEY_HANJA
146 (0x92)
Key name KEY_KATAKANA
147 (0x93)
Key name KEY_HIRAGANA
148 (0x94)
Key name KEY_ZENKAKUHANKAKU
182 (0xb6)
Key name KEY_KPLEFTPAREN
183 (0xb7)
Key name KEY_KPRIGHTPAREN
224 (0xe0)
Key name KEY_LEFTCTRL
225 (0xe1)
Key name KEY_LEFTSHIFT
226 (0xe2)
Key name KEY_LEFTALT
227 (0xe3)
Key name KEY_LEFTMETA
228 (0xe4)
Key name KEY_RIGHTCTRL
229 (0xe5)
Key name KEY_RIGHTSHIFT
230 (0xe6)
Key name KEY_RIGHTALT
231 (0xe7)
Key name KEY_RIGHTMETA
232 (0xe8)
Key name KEY_PLAYPAUSE
233 (0xe9)
Key name KEY_STOPCD
234 (0xea)
Key name KEY_PREVIOUSSONG
235 (0xeb)
Key name KEY_NEXTSONG
236 (0xec)
Key name KEY_EJECTCD
237 (0xed)
Key name KEY_VOLUMEUP
238 (0xee)
Key name KEY_VOLUMEDOWN
239 (0xef)
Key name KEY_MUTE
240 (0xf0)
Key name KEY_WWW
241 (0xf1)
Key name KEY_BACK
242 (0xf2)
Key name KEY_FORWARD
243 (0xf3)
Key name KEY_STOP
244 (0xf4)
Key name KEY_FIND
245 (0xf5)
Key name KEY_SCROLLUP
246 (0xf6)
Key name KEY_SCROLLDOWN
247 (0xf7)
Key name KEY_EDIT
248 (0xf8)
Key name KEY_SLEEP
249 (0xf9)
Key name KEY_SCREENLOCK
250 (0xfa)
Key name KEY_REFRESH
251 (0xfb)
Key name KEY_CALC
2021-04-27 libvirt-4.5.0