Scroll to navigation

VIRKEYCODE-XTKBD(7) Virtualization Support VIRKEYCODE-XTKBD(7)

Key code values for xtkbd

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

1 (0x1)
Key name KEY_ESC
2 (0x2)
Key name KEY_1
3 (0x3)
Key name KEY_2
4 (0x4)
Key name KEY_3
5 (0x5)
Key name KEY_4
6 (0x6)
Key name KEY_5
7 (0x7)
Key name KEY_6
8 (0x8)
Key name KEY_7
9 (0x9)
Key name KEY_8
10 (0xa)
Key name KEY_9
11 (0xb)
Key name KEY_0
12 (0xc)
Key name KEY_MINUS
13 (0xd)
Key name KEY_EQUAL
14 (0xe)
Key name KEY_BACKSPACE
15 (0xf)
Key name KEY_TAB
16 (0x10)
Key name KEY_Q
17 (0x11)
Key name KEY_W
18 (0x12)
Key name KEY_E
19 (0x13)
Key name KEY_R
20 (0x14)
Key name KEY_T
21 (0x15)
Key name KEY_Y
22 (0x16)
Key name KEY_U
23 (0x17)
Key name KEY_I
24 (0x18)
Key name KEY_O
25 (0x19)
Key name KEY_P
26 (0x1a)
Key name KEY_LEFTBRACE
27 (0x1b)
Key name KEY_RIGHTBRACE
28 (0x1c)
Key name KEY_ENTER
29 (0x1d)
Key name KEY_LEFTCTRL
30 (0x1e)
Key name KEY_A
31 (0x1f)
Key name KEY_S
32 (0x20)
Key name KEY_D
33 (0x21)
Key name KEY_F
34 (0x22)
Key name KEY_G
35 (0x23)
Key name KEY_H
36 (0x24)
Key name KEY_J
37 (0x25)
Key name KEY_K
38 (0x26)
Key name KEY_L
39 (0x27)
Key name KEY_SEMICOLON
40 (0x28)
Key name KEY_APOSTROPHE
41 (0x29)
Key name KEY_GRAVE
42 (0x2a)
Key name KEY_LEFTSHIFT
43 (0x2b)
Key name KEY_BACKSLASH
44 (0x2c)
Key name KEY_Z
45 (0x2d)
Key name KEY_X
46 (0x2e)
Key name KEY_C
47 (0x2f)
Key name KEY_V
48 (0x30)
Key name KEY_B
49 (0x31)
Key name KEY_N
50 (0x32)
Key name KEY_M
51 (0x33)
Key name KEY_COMMA
52 (0x34)
Key name KEY_DOT
53 (0x35)
Key name KEY_SLASH
54 (0x36)
Key name KEY_RIGHTSHIFT
55 (0x37)
Key name KEY_KPASTERISK
56 (0x38)
Key name KEY_LEFTALT
57 (0x39)
Key name KEY_SPACE
58 (0x3a)
Key name KEY_CAPSLOCK
59 (0x3b)
Key name KEY_F1
60 (0x3c)
Key name KEY_F2
61 (0x3d)
Key name KEY_F3
62 (0x3e)
Key name KEY_F4
63 (0x3f)
Key name KEY_F5
64 (0x40)
Key name KEY_F6
65 (0x41)
Key name KEY_F7
66 (0x42)
Key name KEY_F8
67 (0x43)
Key name KEY_F9
68 (0x44)
Key name KEY_F10
69 (0x45)
Key name KEY_NUMLOCK
70 (0x46)
Key name KEY_SCROLLLOCK
71 (0x47)
Key name KEY_KP7
72 (0x48)
Key name KEY_KP8
73 (0x49)
Key name KEY_KP9
74 (0x4a)
Key name KEY_KPMINUS
75 (0x4b)
Key name KEY_KP4
76 (0x4c)
Key name KEY_KP5
77 (0x4d)
Key name KEY_KP6
78 (0x4e)
Key name KEY_KPPLUS
79 (0x4f)
Key name KEY_KP1
80 (0x50)
Key name KEY_KP2
81 (0x51)
Key name KEY_KP3
82 (0x52)
Key name KEY_KP0
83 (0x53)
Key name KEY_KPDOT
84 (0x54)
Key name KEY_SYSRQ
85 (0x55)
Key name KEY_F16
86 (0x56)
Key name KEY_102ND
87 (0x57)
Key name KEY_F11
88 (0x58)
Key name KEY_F12
89 (0x59)
Key name KEY_KPEQUAL
90 (0x5a)
Key name KEY_F20
91 (0x5b)
Key name KEY_LINEFEED
92 (0x5c)
Key name KEY_KPJPCOMMA
93 (0x5d)
Key name KEY_F13
94 (0x5e)
Key name KEY_F14
95 (0x5f)
Key name KEY_F15
99 (0x63)
Key name KEY_PHONE
100 (0x64)
Key name KEY_OPEN
101 (0x65)
Key name KEY_PASTE
102 (0x66)
Key name KEY_SETUP
103 (0x67)
Key name KEY_FILE
104 (0x68)
Key name KEY_SENDFILE
105 (0x69)
Key name KEY_DELETEFILE
106 (0x6a)
Key name KEY_MSDOS
107 (0x6b)
Key name KEY_DIRECTION
108 (0x6c)
Key name KEY_EJECTCD
109 (0x6d)
Key name KEY_F23
111 (0x6f)
Key name KEY_F24
112 (0x70)
Key name KEY_KATAKANAHIRAGANA
113 (0x71)
Key name KEY_EXIT
114 (0x72)
Key name KEY_MOVE
115 (0x73)
Key name KEY_RO
116 (0x74)
Key name KEY_F21
117 (0x75)
Key name KEY_SCROLLUP
118 (0x76)
Key name KEY_ZENKAKUHANKAKU
119 (0x77)
Key name KEY_HIRAGANA
120 (0x78)
Key name KEY_KATAKANA
121 (0x79)
Key name KEY_HENKAN
123 (0x7b)
Key name KEY_MUHENKAN
125 (0x7d)
Key name KEY_YEN
126 (0x7e)
Key name KEY_KPCOMMA
257 (0x101)
Key name KEY_CONFIG
258 (0x102)
Key name KEY_WWW
259 (0x103)
Key name KEY_F17
260 (0x104)
Key name KEY_F19
261 (0x105)
Key name KEY_AGAIN
262 (0x106)
Key name KEY_PROPS
263 (0x107)
Key name KEY_UNDO
264 (0x108)
Key name KEY_EDIT
265 (0x109)
Key name KEY_NEW
266 (0x10a)
Key name KEY_REDO
267 (0x10b)
Key name KEY_SCALE
268 (0x10c)
Key name KEY_FRONT
269 (0x10d)
Key name KEY_HANJA
270 (0x10e)
Key name KEY_FORWARDMAIL
271 (0x10f)
Key name KEY_SCROLLDOWN
272 (0x110)
Key name KEY_PREVIOUSSONG
274 (0x112)
Key name KEY_SCREENLOCK
275 (0x113)
Key name KEY_XFER
276 (0x114)
Key name KEY_ALTERASE
277 (0x115)
Key name unnamed
278 (0x116)
Key name unnamed
279 (0x117)
Key name KEY_PROG2
280 (0x118)
Key name KEY_REWIND
281 (0x119)
Key name KEY_NEXTSONG
282 (0x11a)
Key name unnamed
283 (0x11b)
Key name unnamed
284 (0x11c)
Key name KEY_KPENTER
285 (0x11d)
Key name KEY_RIGHTCTRL
286 (0x11e)
Key name KEY_MENU
287 (0x11f)
Key name KEY_PROG1
288 (0x120)
Key name KEY_MUTE
289 (0x121)
Key name KEY_CALC
290 (0x122)
Key name KEY_PLAYPAUSE
291 (0x123)
Key name KEY_CLOSECD
292 (0x124)
Key name KEY_STOPCD
293 (0x125)
Key name KEY_SUSPEND
294 (0x126)
Key name KEY_CYCLEWINDOWS
295 (0x127)
Key name unnamed
296 (0x128)
Key name KEY_PLAYCD
297 (0x129)
Key name KEY_PAUSECD
299 (0x12b)
Key name KEY_PROG3
300 (0x12c)
Key name KEY_PROG4
301 (0x12d)
Key name KEY_DASHBOARD
302 (0x12e)
Key name KEY_VOLUMEDOWN
303 (0x12f)
Key name KEY_CLOSE
304 (0x130)
Key name KEY_VOLUMEUP
305 (0x131)
Key name KEY_RECORD
306 (0x132)
Key name KEY_HOMEPAGE
307 (0x133)
Key name KEY_PLAY
308 (0x134)
Key name KEY_FASTFORWARD
309 (0x135)
Key name KEY_KPSLASH
310 (0x136)
Key name KEY_BASSBOOST
312 (0x138)
Key name KEY_RIGHTALT
313 (0x139)
Key name KEY_PRINT
314 (0x13a)
Key name KEY_HP
315 (0x13b)
Key name KEY_CAMERA
316 (0x13c)
Key name KEY_CUT
317 (0x13d)
Key name KEY_SOUND
318 (0x13e)
Key name KEY_QUESTION
319 (0x13f)
Key name KEY_EMAIL
320 (0x140)
Key name KEY_CHAT
321 (0x141)
Key name KEY_FIND
322 (0x142)
Key name KEY_CONNECT
323 (0x143)
Key name KEY_FINANCE
324 (0x144)
Key name KEY_SPORT
325 (0x145)
Key name KEY_SHOP
326 (0x146)
Key name KEY_PAUSE
327 (0x147)
Key name KEY_HOME
328 (0x148)
Key name KEY_UP
329 (0x149)
Key name KEY_PAGEUP
330 (0x14a)
Key name KEY_CANCEL
331 (0x14b)
Key name KEY_LEFT
332 (0x14c)
Key name KEY_BRIGHTNESSDOWN
333 (0x14d)
Key name KEY_RIGHT
334 (0x14e)
Key name KEY_KPPLUSMINUS
335 (0x14f)
Key name KEY_END
336 (0x150)
Key name KEY_DOWN
337 (0x151)
Key name KEY_PAGEDOWN
338 (0x152)
Key name KEY_INSERT
339 (0x153)
Key name KEY_DELETE
340 (0x154)
Key name KEY_BRIGHTNESSUP
341 (0x155)
Key name KEY_SAVE
342 (0x156)
Key name KEY_SWITCHVIDEOMODE
343 (0x157)
Key name KEY_KBDILLUMTOGGLE
344 (0x158)
Key name KEY_KBDILLUMDOWN
345 (0x159)
Key name KEY_KBDILLUMUP
346 (0x15a)
Key name KEY_SEND
347 (0x15b)
Key name KEY_LEFTMETA
348 (0x15c)
Key name KEY_RIGHTMETA
349 (0x15d)
Key name KEY_COMPOSE
350 (0x15e)
Key name KEY_POWER
351 (0x15f)
Key name KEY_SLEEP
355 (0x163)
Key name KEY_WAKEUP
356 (0x164)
Key name KEY_REPLY
357 (0x165)
Key name KEY_SEARCH
358 (0x166)
Key name KEY_BOOKMARKS
359 (0x167)
Key name KEY_REFRESH
360 (0x168)
Key name KEY_STOP
361 (0x169)
Key name KEY_FORWARD
362 (0x16a)
Key name KEY_BACK
363 (0x16b)
Key name KEY_COMPUTER
364 (0x16c)
Key name KEY_MAIL
365 (0x16d)
Key name KEY_MEDIA
367 (0x16f)
Key name KEY_MACRO
368 (0x170)
Key name KEY_DOCUMENTS
369 (0x171)
Key name KEY_BATTERY
370 (0x172)
Key name KEY_BLUETOOTH
371 (0x173)
Key name KEY_WLAN
372 (0x174)
Key name KEY_UWB
373 (0x175)
Key name KEY_HELP
374 (0x176)
Key name KEY_KPLEFTPAREN
375 (0x177)
Key name KEY_F18
376 (0x178)
Key name KEY_COPY
377 (0x179)
Key name KEY_F22
379 (0x17b)
Key name KEY_KPRIGHTPAREN
381 (0x17d)
Key name KEY_EJECTCLOSECD
2021-04-27 libvirt-4.5.0