Key name values for linux List of linux key code names, with corresponding key code values KEYRESERVED Key value 0 (0x0) KEYESC Key value 1 (0x1) KEY1 Key value 2 (0x2) KEY2 Key value 3 (0x3) KEY3 Key value 4 (0x4) KEY4 Key value 5 (0x5) KEY5 Key value 6 (0x6) KEY6 Key value 7 (0x7) KEY7 Key value 8 (0x8) KEY8 Key value 9 (0x9) KEY9 Key value 10 (0xa) KEY0 Key value 11 (0xb) KEYMINUS Key value 12 (0xc) KEYEQUAL Key value 13 (0xd) KEYBACKSPACE Key value 14 (0xe) KEYTAB Key value 15 (0xf) KEYQ Key value 16 (0x10) KEYW Key value 17 (0x11) KEYE Key value 18 (0x12) KEYR Key value 19 (0x13) KEYT Key value 20 (0x14) KEYY Key value 21 (0x15) KEYU Key value 22 (0x16) KEYI Key value 23 (0x17) KEYO Key value 24 (0x18) KEYP Key value 25 (0x19) KEYLEFTBRACE Key value 26 (0x1a) KEYRIGHTBRACE Key value 27 (0x1b) KEYENTER Key value 28 (0x1c) KEYLEFTCTRL Key value 29 (0x1d) KEYA Key value 30 (0x1e) KEYS Key value 31 (0x1f) KEYD Key value 32 (0x20) KEYF Key value 33 (0x21) KEYG Key value 34 (0x22) KEYH Key value 35 (0x23) KEYJ Key value 36 (0x24) KEYK Key value 37 (0x25) KEYL Key value 38 (0x26) KEYSEMICOLON Key value 39 (0x27) KEYAPOSTROPHE Key value 40 (0x28) KEYGRAVE Key value 41 (0x29) KEYLEFTSHIFT Key value 42 (0x2a) KEYBACKSLASH Key value 43 (0x2b) KEYZ Key value 44 (0x2c) KEYX Key value 45 (0x2d) KEYC Key value 46 (0x2e) KEYV Key value 47 (0x2f) KEYB Key value 48 (0x30) KEYN Key value 49 (0x31) KEYM Key value 50 (0x32) KEYCOMMA Key value 51 (0x33) KEYDOT Key value 52 (0x34) KEYSLASH Key value 53 (0x35) KEYRIGHTSHIFT Key value 54 (0x36) KEYKPASTERISK Key value 55 (0x37) KEYLEFTALT Key value 56 (0x38) KEYSPACE Key value 57 (0x39) KEYCAPSLOCK Key value 58 (0x3a) KEYF1 Key value 59 (0x3b) KEYF2 Key value 60 (0x3c) KEYF3 Key value 61 (0x3d) KEYF4 Key value 62 (0x3e) KEYF5 Key value 63 (0x3f) KEYF6 Key value 64 (0x40) KEYF7 Key value 65 (0x41) KEYF8 Key value 66 (0x42) KEYF9 Key value 67 (0x43) KEYF10 Key value 68 (0x44) KEYNUMLOCK Key value 69 (0x45) KEYSCROLLLOCK Key value 70 (0x46) KEYKP7 Key value 71 (0x47) KEYKP8 Key value 72 (0x48) KEYKP9 Key value 73 (0x49) KEYKPMINUS Key value 74 (0x4a) KEYKP4 Key value 75 (0x4b) KEYKP5 Key value 76 (0x4c) KEYKP6 Key value 77 (0x4d) KEYKPPLUS Key value 78 (0x4e) KEYKP1 Key value 79 (0x4f) KEYKP2 Key value 80 (0x50) KEYKP3 Key value 81 (0x51) KEYKP0 Key value 82 (0x52) KEYKPDOT Key value 83 (0x53) None Key value 84 (0x54) KEYZENKAKUHANKAKU Key value 85 (0x55) KEY102ND Key value 86 (0x56) KEYF11 Key value 87 (0x57) KEYF12 Key value 88 (0x58) KEYRO Key value 89 (0x59) KEYKATAKANA Key value 90 (0x5a) KEYHIRAGANA Key value 91 (0x5b) KEYHENKAN Key value 92 (0x5c) KEYKATAKANAHIRAGANA Key value 93 (0x5d) KEYMUHENKAN Key value 94 (0x5e) KEYKPJPCOMMA Key value 95 (0x5f) KEYKPENTER Key value 96 (0x60) KEYRIGHTCTRL Key value 97 (0x61) KEYKPSLASH Key value 98 (0x62) KEYSYSRQ Key value 99 (0x63) KEYRIGHTALT Key value 100 (0x64) KEYLINEFEED Key value 101 (0x65) KEYHOME Key value 102 (0x66) KEYUP Key value 103 (0x67) KEYPAGEUP Key value 104 (0x68) KEYLEFT Key value 105 (0x69) KEYRIGHT Key value 106 (0x6a) KEYEND Key value 107 (0x6b) KEYDOWN Key value 108 (0x6c) KEYPAGEDOWN Key value 109 (0x6d) KEYINSERT Key value 110 (0x6e) KEYDELETE Key value 111 (0x6f) KEYMACRO Key value 112 (0x70) KEYMUTE Key value 113 (0x71) KEYVOLUMEDOWN Key value 114 (0x72) KEYVOLUMEUP Key value 115 (0x73) KEYPOWER Key value 116 (0x74) KEYKPEQUAL Key value 117 (0x75) KEYKPPLUSMINUS Key value 118 (0x76) KEYPAUSE Key value 119 (0x77) KEYSCALE Key value 120 (0x78) KEYKPCOMMA Key value 121 (0x79) KEYHANGEUL Key value 122 (0x7a) KEYHANJA Key value 123 (0x7b) KEYYEN Key value 124 (0x7c) KEYLEFTMETA Key value 125 (0x7d) KEYRIGHTMETA Key value 126 (0x7e) KEYCOMPOSE Key value 127 (0x7f) KEYSTOP Key value 128 (0x80) KEYAGAIN Key value 129 (0x81) KEYPROPS Key value 130 (0x82) KEYUNDO Key value 131 (0x83) KEYFRONT Key value 132 (0x84) KEYCOPY Key value 133 (0x85) KEYOPEN Key value 134 (0x86) KEYPASTE Key value 135 (0x87) KEYFIND Key value 136 (0x88) KEYCUT Key value 137 (0x89) KEYHELP Key value 138 (0x8a) KEYMENU Key value 139 (0x8b) KEYCALC Key value 140 (0x8c) KEYSETUP Key value 141 (0x8d) KEYSLEEP Key value 142 (0x8e) KEYWAKEUP Key value 143 (0x8f) KEYFILE Key value 144 (0x90) KEYSENDFILE Key value 145 (0x91) KEYDELETEFILE Key value 146 (0x92) KEYXFER Key value 147 (0x93) KEYPROG1 Key value 148 (0x94) KEYPROG2 Key value 149 (0x95) KEYWWW Key value 150 (0x96) KEYMSDOS Key value 151 (0x97) KEYSCREENLOCK Key value 152 (0x98) KEYDIRECTION Key value 153 (0x99) KEYCYCLEWINDOWS Key value 154 (0x9a) KEYMAIL Key value 155 (0x9b) KEYBOOKMARKS Key value 156 (0x9c) KEYCOMPUTER Key value 157 (0x9d) KEYBACK Key value 158 (0x9e) KEYFORWARD Key value 159 (0x9f) KEYCLOSECD Key value 160 (0xa0) KEYEJECTCD Key value 161 (0xa1) KEYEJECTCLOSECD Key value 162 (0xa2) KEYNEXTSONG Key value 163 (0xa3) KEYPLAYPAUSE Key value 164 (0xa4) KEYPREVIOUSSONG Key value 165 (0xa5) KEYSTOPCD Key value 166 (0xa6) KEYRECORD Key value 167 (0xa7) KEYREWIND Key value 168 (0xa8) KEYPHONE Key value 169 (0xa9) KEYISO Key value 170 (0xaa) KEYCONFIG Key value 171 (0xab) KEYHOMEPAGE Key value 172 (0xac) KEYREFRESH Key value 173 (0xad) KEYEXIT Key value 174 (0xae) KEYMOVE Key value 175 (0xaf) KEYEDIT Key value 176 (0xb0) KEYSCROLLUP Key value 177 (0xb1) KEYSCROLLDOWN Key value 178 (0xb2) KEYKPLEFTPAREN Key value 179 (0xb3) KEYKPRIGHTPAREN Key value 180 (0xb4) KEYNEW Key value 181 (0xb5) KEYREDO Key value 182 (0xb6) KEYF13 Key value 183 (0xb7) KEYF14 Key value 184 (0xb8) KEYF15 Key value 185 (0xb9) KEYF16 Key value 186 (0xba) KEYF17 Key value 187 (0xbb) KEYF18 Key value 188 (0xbc) KEYF19 Key value 189 (0xbd) KEYF20 Key value 190 (0xbe) KEYF21 Key value 191 (0xbf) KEYF22 Key value 192 (0xc0) KEYF23 Key value 193 (0xc1) KEYF24 Key value 194 (0xc2) None Key value 195 (0xc3) None Key value 196 (0xc4) None Key value 197 (0xc5) None Key value 198 (0xc6) None Key value 199 (0xc7) KEYPLAYCD Key value 200 (0xc8) KEYPAUSECD Key value 201 (0xc9) KEYPROG3 Key value 202 (0xca) KEYPROG4 Key value 203 (0xcb) KEYDASHBOARD Key value 204 (0xcc) KEYSUSPEND Key value 205 (0xcd) KEYCLOSE Key value 206 (0xce) KEYPLAY Key value 207 (0xcf) KEYFASTFORWARD Key value 208 (0xd0) KEYBASSBOOST Key value 209 (0xd1) KEYPRINT Key value 210 (0xd2) KEYHP Key value 211 (0xd3) KEYCAMERA Key value 212 (0xd4) KEYSOUND Key value 213 (0xd5) KEYQUESTION Key value 214 (0xd6) KEYEMAIL Key value 215 (0xd7) KEYCHAT Key value 216 (0xd8) KEYSEARCH Key value 217 (0xd9) KEYCONNECT Key value 218 (0xda) KEYFINANCE Key value 219 (0xdb) KEYSPORT Key value 220 (0xdc) KEYSHOP Key value 221 (0xdd) KEYALTERASE Key value 222 (0xde) KEYCANCEL Key value 223 (0xdf) KEYBRIGHTNESSDOWN Key value 224 (0xe0) KEYBRIGHTNESSUP Key value 225 (0xe1) KEYMEDIA Key value 226 (0xe2) KEYSWITCHVIDEOMODE Key value 227 (0xe3) KEYKBDILLUMTOGGLE Key value 228 (0xe4) KEYKBDILLUMDOWN Key value 229 (0xe5) KEYKBDILLUMUP Key value 230 (0xe6) KEYSEND Key value 231 (0xe7) KEYREPLY Key value 232 (0xe8) KEYFORWARDMAIL Key value 233 (0xe9) KEYSAVE Key value 234 (0xea) KEYDOCUMENTS Key value 235 (0xeb) KEYBATTERY Key value 236 (0xec) KEYBLUETOOTH Key value 237 (0xed) KEYWLAN Key value 238 (0xee) KEYUWB Key value 239 (0xef) KEYUNKNOWN Key value 240 (0xf0) KEYVIDEONEXT Key value 241 (0xf1) KEYVIDEOPREV Key value 242 (0xf2) KEYBRIGHTNESSCYCLE Key value 243 (0xf3) KEYBRIGHTNESSZERO Key value 244 (0xf4) KEYDISPLAYOFF Key value 245 (0xf5) KEYWIMAX Key value 246 (0xf6) None Key value 247 (0xf7) None Key value 248 (0xf8) None Key value 249 (0xf9) None Key value 250 (0xfa) None Key value 251 (0xfb) None Key value 252 (0xfc) None Key value 253 (0xfd) None Key value 254 (0xfe) None Key value 255 (0xff) BTN0 Key value 256 (0x100) BTN1 Key value 257 (0x101) BTN2 Key value 258 (0x102) BTN3 Key value 259 (0x103) BTN4 Key value 260 (0x104) BTN5 Key value 261 (0x105) BTN6 Key value 262 (0x106) BTN7 Key value 263 (0x107) BTN8 Key value 264 (0x108) BTN9 Key value 265 (0x109) BTNLEFT Key value 272 (0x110) BTNRIGHT Key value 273 (0x111) BTNMIDDLE Key value 274 (0x112) BTNSIDE Key value 275 (0x113) BTNEXTRA Key value 276 (0x114) BTNFORWARD Key value 277 (0x115) BTNBACK Key value 278 (0x116) BTNTASK Key value 279 (0x117) BTNTRIGGER Key value 288 (0x120) BTNTHUMB Key value 289 (0x121) BTNTHUMB2 Key value 290 (0x122) BTNTOP Key value 291 (0x123) BTNTOP2 Key value 292 (0x124) BTNPINKIE Key value 293 (0x125) BTNBASE Key value 294 (0x126) BTNBASE2 Key value 295 (0x127) BTNBASE3 Key value 296 (0x128) BTNBASE4 Key value 297 (0x129) BTNBASE5 Key value 298 (0x12a) BTNBASE6 Key value 299 (0x12b) BTNDEAD Key value 303 (0x12f) BTNA Key value 304 (0x130) BTNB Key value 305 (0x131) BTNC Key value 306 (0x132) BTNX Key value 307 (0x133) BTNY Key value 308 (0x134) BTNZ Key value 309 (0x135) BTNTL Key value 310 (0x136) BTNTR Key value 311 (0x137) BTNTL2 Key value 312 (0x138) BTNTR2 Key value 313 (0x139) BTNSELECT Key value 314 (0x13a) BTNSTART Key value 315 (0x13b) BTNMODE Key value 316 (0x13c) BTNTHUMBL Key value 317 (0x13d) BTNTHUMBR Key value 318 (0x13e) BTNTOOLPEN Key value 320 (0x140) BTNTOOLRUBBER Key value 321 (0x141) BTNTOOLBRUSH Key value 322 (0x142) BTNTOOLPENCIL Key value 323 (0x143) BTNTOOLAIRBRUSH Key value 324 (0x144) BTNTOOLFINGER Key value 325 (0x145) BTNTOOLMOUSE Key value 326 (0x146) BTNTOOLLENS Key value 327 (0x147) BTNTOUCH Key value 330 (0x14a) BTNSTYLUS Key value 331 (0x14b) BTNSTYLUS2 Key value 332 (0x14c) BTNTOOLDOUBLETAP Key value 333 (0x14d) BTNTOOLTRIPLETAP Key value 334 (0x14e) BTNTOOLQUADTAP Key value 335 (0x14f) BTNGEARDOWN Key value 336 (0x150) BTNGEARUP Key value 337 (0x151) KEYOK Key value 352 (0x160) KEYSELECT Key value 353 (0x161) KEYGOTO Key value 354 (0x162) KEYCLEAR Key value 355 (0x163) KEYPOWER2 Key value 356 (0x164) KEYOPTION Key value 357 (0x165) KEYINFO Key value 358 (0x166) KEYTIME Key value 359 (0x167) KEYVENDOR Key value 360 (0x168) KEYARCHIVE Key value 361 (0x169) KEYPROGRAM Key value 362 (0x16a) KEYCHANNEL Key value 363 (0x16b) KEYFAVORITES Key value 364 (0x16c) KEYEPG Key value 365 (0x16d) KEYPVR Key value 366 (0x16e) KEYMHP Key value 367 (0x16f) KEYLANGUAGE Key value 368 (0x170) KEYTITLE Key value 369 (0x171) KEYSUBTITLE Key value 370 (0x172) KEYANGLE Key value 371 (0x173) KEYZOOM Key value 372 (0x174) KEYMODE Key value 373 (0x175) KEYKEYBOARD Key value 374 (0x176) KEYSCREEN Key value 375 (0x177) KEYPC Key value 376 (0x178) KEYTV Key value 377 (0x179) KEYTV2 Key value 378 (0x17a) KEYVCR Key value 379 (0x17b) KEYVCR2 Key value 380 (0x17c) KEYSAT Key value 381 (0x17d) KEYSAT2 Key value 382 (0x17e) KEYCD Key value 383 (0x17f) KEYTAPE Key value 384 (0x180) KEYRADIO Key value 385 (0x181) KEYTUNER Key value 386 (0x182) KEYPLAYER Key value 387 (0x183) KEYTEXT Key value 388 (0x184) KEYDVD Key value 389 (0x185) KEYAUX Key value 390 (0x186) KEYMP3 Key value 391 (0x187) KEYAUDIO Key value 392 (0x188) KEYVIDEO Key value 393 (0x189) KEYDIRECTORY Key value 394 (0x18a) KEYLIST Key value 395 (0x18b) KEYMEMO Key value 396 (0x18c) KEYCALENDAR Key value 397 (0x18d) KEYRED Key value 398 (0x18e) KEYGREEN Key value 399 (0x18f) KEYYELLOW Key value 400 (0x190) KEYBLUE Key value 401 (0x191) KEYCHANNELUP Key value 402 (0x192) KEYCHANNELDOWN Key value 403 (0x193) KEYFIRST Key value 404 (0x194) KEYLAST Key value 405 (0x195) KEYAB Key value 406 (0x196) KEYNEXT Key value 407 (0x197) KEYRESTART Key value 408 (0x198) KEYSLOW Key value 409 (0x199) KEYSHUFFLE Key value 410 (0x19a) KEYBREAK Key value 411 (0x19b) KEYPREVIOUS Key value 412 (0x19c) KEYDIGITS Key value 413 (0x19d) KEYTEEN Key value 414 (0x19e) KEYTWEN Key value 415 (0x19f) KEYVIDEOPHONE Key value 416 (0x1a0) KEYGAMES Key value 417 (0x1a1) KEYZOOMIN Key value 418 (0x1a2) KEYZOOMOUT Key value 419 (0x1a3) KEYZOOMRESET Key value 420 (0x1a4) KEYWORDPROCESSOR Key value 421 (0x1a5) KEYEDITOR Key value 422 (0x1a6) KEYSPREADSHEET Key value 423 (0x1a7) KEYGRAPHICSEDITOR Key value 424 (0x1a8) KEYPRESENTATION Key value 425 (0x1a9) KEYDATABASE Key value 426 (0x1aa) KEYNEWS Key value 427 (0x1ab) KEYVOICEMAIL Key value 428 (0x1ac) KEYADDRESSBOOK Key value 429 (0x1ad) KEYMESSENGER Key value 430 (0x1ae) KEYDISPLAYTOGGLE Key value 431 (0x1af) KEYSPELLCHECK Key value 432 (0x1b0) KEYLOGOFF Key value 433 (0x1b1) KEYDOLLAR Key value 434 (0x1b2) KEYEURO Key value 435 (0x1b3) KEYFRAMEBACK Key value 436 (0x1b4) KEYFRAMEFORWARD Key value 437 (0x1b5) KEYCONTEXTMENU Key value 438 (0x1b6) KEYMEDIAREPEAT Key value 439 (0x1b7) KEYDELEOL Key value 448 (0x1c0) KEYDELEOS Key value 449 (0x1c1) KEYINSLINE Key value 450 (0x1c2) KEYDELLINE Key value 451 (0x1c3) KEYFN Key value 464 (0x1d0) KEYFNESC Key value 465 (0x1d1) KEYFNF1 Key value 466 (0x1d2) KEYFNF2 Key value 467 (0x1d3) KEYFNF3 Key value 468 (0x1d4) KEYFNF4 Key value 469 (0x1d5) KEYFNF5 Key value 470 (0x1d6) KEYFNF6 Key value 471 (0x1d7) KEYFNF7 Key value 472 (0x1d8) KEYFNF8 Key value 473 (0x1d9) KEYFNF9 Key value 474 (0x1da) KEYFNF10 Key value 475 (0x1db) KEYFNF11 Key value 476 (0x1dc) KEYFNF12 Key value 477 (0x1dd) KEYFN1 Key value 478 (0x1de) KEYFN2 Key value 479 (0x1df) KEYFND Key value 480 (0x1e0) KEYFNE Key value 481 (0x1e1) KEYFNF Key value 482 (0x1e2) KEYFNS Key value 483 (0x1e3) KEYFNB Key value 484 (0x1e4) KEYBRLDOT1 Key value 497 (0x1f1) KEYBRLDOT2 Key value 498 (0x1f2) KEYBRLDOT3 Key value 499 (0x1f3) KEYBRLDOT4 Key value 500 (0x1f4) KEYBRLDOT5 Key value 501 (0x1f5) KEYBRLDOT6 Key value 502 (0x1f6) KEYBRLDOT7 Key value 503 (0x1f7) KEYBRLDOT8 Key value 504 (0x1f8) KEYBRLDOT9 Key value 505 (0x1f9) KEYBRLDOT10 Key value 506 (0x1fa) KEYNUMERIC0 Key value 512 (0x200) KEYNUMERIC1 Key value 513 (0x201) KEYNUMERIC2 Key value 514 (0x202) KEYNUMERIC3 Key value 515 (0x203) KEYNUMERIC4 Key value 516 (0x204) KEYNUMERIC5 Key value 517 (0x205) KEYNUMERIC6 Key value 518 (0x206) KEYNUMERIC7 Key value 519 (0x207) KEYNUMERIC8 Key value 520 (0x208) KEYNUMERIC9 Key value 521 (0x209) KEYNUMERICSTAR Key value 522 (0x20a) KEYNUMERICPOUND Key value 523 (0x20b) KEYRFKILL Key value 524 (0x20c)
libvirt-4.5.0 2018-10-31 VIRKEYNAME-LINUX(7)