VIRKEYNAME-OSX(7)

Key name values for osx
List of osx key code names, with corresponding key code values

None
    Key value 0 (0x0)

Escape
    Key value 1 (0x1)

ANSI_1
    Key value 2 (0x2)

ANSI_2
    Key value 3 (0x3)

ANSI_3
    Key value 4 (0x4)

ANSI_4
    Key value 5 (0x5)

ANSI_5
    Key value 6 (0x6)

ANSI_6
    Key value 7 (0x7)

ANSI_7
    Key value 8 (0x8)

ANSI_8
    Key value 9 (0x9)

ANSI_9
    Key value 10 (0xa)

ANSI_0
    Key value 11 (0xb)

ANSI_Minus
    Key value 12 (0xc)

ANSI_Equal
    Key value 13 (0xd)

Delete
    Key value 14 (0xe)

Tab Key value 15 (0xf)

ANSI_Q
    Key value 16 (0x10)

ANSI_W
    Key value 17 (0x11)

ANSI_E
    Key value 18 (0x12)

ANSI_R
    Key value 19 (0x13)

ANSI_T
    Key value 20 (0x14)

ANSI_Y
    Key value 21 (0x15)

ANSI_U
    Key value 22 (0x16)

ANSI_I
    Key value 23 (0x17)

ANSI_O
    Key value 24 (0x18)

ANSI_P
    Key value 25 (0x19)

ANSI_LeftBracket
    Key value 26 (0x1a)

ANSI_RightBracket
    Key value 27 (0x1b)

Return
    Key value 28 (0x1c)

Control
    Key value 29 (0x1d)

ANSI_A
    Key value 30 (0x1e)

ANSI_S
    Key value 31 (0x1f)

ANSI_D
    Key value 32 (0x20)

ANSI_F
    Key value 33 (0x21)

ANSI_G
    Key value 34 (0x22)

ANSI_H
    Key value 35 (0x23)

ANSI_J
    Key value 36 (0x24)

ANSI_K
    Key value 37 (0x25)

ANSI_L
    Key value 38 (0x26)

ANSI_Semicolon
    Key value 39 (0x27)

ANSI_Quote
    Key value 40 (0x28)

ANSI_Grave
    Key value 41 (0x29)

Shift
    Key value 42 (0x2a)

ANSI_Backslash
    Key value 43 (0x2b)

ANSI_Z
    Key value 44 (0x2c)

ANSI_X
    Key value 45 (0x2d)

ANSI_C
    Key value 46 (0x2e)

ANSI_V
    Key value 47 (0x2f)

ANSI_B
    Key value 48 (0x30)

ANSI_N
    Key value 49 (0x31)

ANSI_M
    Key value 50 (0x32)

ANSI_Comma
    Key value 51 (0x33)

ANSI_Period
    Key value 52 (0x34)

ANSI_Slash
    Key value 53 (0x35)

RightShift
    Key value 54 (0x36)

ANSI_KeypadMultiply
    Key value 55 (0x37)

Option
    Key value 56 (0x38)

Space
    Key value 57 (0x39)

CapsLock
    Key value 58 (0x3a)

F1  Key value 59 (0x3b)

F2  Key value 60 (0x3c)

F3  Key value 61 (0x3d)

F4  Key value 62 (0x3e)

F5  Key value 63 (0x3f)

F6  Key value 64 (0x40)

F7  Key value 65 (0x41)

F8  Key value 66 (0x42)

F9  Key value 67 (0x43)

F10 Key value 68 (0x44)

ANSI_KeypadClear
    Key value 69 (0x45)

None
    Key value 70 (0x46)

ANSI_Keypad7
    Key value 71 (0x47)

ANSI_Keypad8
    Key value 72 (0x48)

ANSI_Keypad9
    Key value 73 (0x49)

ANSI_KeypadMinus
    Key value 74 (0x4a)

ANSI_Keypad4
    Key value 75 (0x4b)

ANSI_Keypad5
    Key value 76 (0x4c)

ANSI_Keypad6
    Key value 77 (0x4d)

ANSI_KeypadPlus
    Key value 78 (0x4e)

ANSI_Keypad1
    Key value 79 (0x4f)

ANSI_Keypad2
    Key value 80 (0x50)

ANSI_Keypad3
    Key value 81 (0x51)

ANSI_Keypad0
    Key value 82 (0x52)

ANSI_KeypadDecimal
    Key value 83 (0x53)

None
    Key value 84 (0x54)

None
    Key value 85 (0x55)

None
    Key value 86 (0x56)

F11 Key value 87 (0x57)

F12 Key value 88 (0x58)

None
    Key value 89 (0x59)

JIS_Kana
    Key value 90 (0x5a)

None
    Key value 91 (0x5b)

None
    Key value 92 (0x5c)

None
    Key value 93 (0x5d)

None
    Key value 94 (0x5e)

JIS_KeypadComma
    Key value 95 (0x5f)

ANSI_KeypadEnter
    Key value 96 (0x60)

RightControl
    Key value 97 (0x61)

ANSI_KeypadDivide
    Key value 98 (0x62)

None
    Key value 99 (0x63)

RightOption
    Key value 100 (0x64)

None
    Key value 101 (0x65)

Home
    Key value 102 (0x66)

UpArrow
    Key value 103 (0x67)

PageUp
    Key value 104 (0x68)

LeftArrow
    Key value 105 (0x69)

RightArrow
    Key value 106 (0x6a)

End Key value 107 (0x6b)

DownArrow
    Key value 108 (0x6c)

PageDown
    Key value 109 (0x6d)

None
    Key value 110 (0x6e)

ForwardDelete
    Key value 111 (0x6f)

None
    Key value 112 (0x70)

Mute
    Key value 113 (0x71)

VolumeDown
    Key value 114 (0x72)

VolumeUp
    Key value 115 (0x73)

None
    Key value 116 (0x74)

ANSI_KeypadEquals
    Key value 117 (0x75)

None
    Key value 118 (0x76)

None
    Key value 119 (0x77)

None
    Key value 120 (0x78)

None
    Key value 121 (0x79)

None
    Key value 122 (0x7a)

None
    Key value 123 (0x7b)

JIS_Yen
    Key value 124 (0x7c)

Command
    Key value 125 (0x7d)

RightCommand
    Key value 126 (0x7e)

None
    Key value 127 (0x7f)

None
    Key value 128 (0x80)

None
    Key value 129 (0x81)

None
    Key value 130 (0x82)

None
    Key value 131 (0x83)

None
    Key value 132 (0x84)

None
    Key value 133 (0x85)

None
    Key value 134 (0x86)

None
    Key value 135 (0x87)

None
    Key value 136 (0x88)

None
    Key value 137 (0x89)

Help
    Key value 138 (0x8a)

None
    Key value 139 (0x8b)

None
    Key value 140 (0x8c)

None
    Key value 141 (0x8d)

None
    Key value 142 (0x8e)

None
    Key value 143 (0x8f)

None
    Key value 144 (0x90)

None
    Key value 145 (0x91)

None
    Key value 146 (0x92)

None
    Key value 147 (0x93)

None
    Key value 148 (0x94)

None
    Key value 149 (0x95)

None
    Key value 150 (0x96)

None
    Key value 151 (0x97)

None
    Key value 152 (0x98)

None
    Key value 153 (0x99)

None
    Key value 154 (0x9a)

None
    Key value 155 (0x9b)

None
    Key value 156 (0x9c)

None
    Key value 157 (0x9d)

None
    Key value 158 (0x9e)

None
    Key value 159 (0x9f)

None
    Key value 160 (0xa0)

None
    Key value 161 (0xa1)

None
    Key value 162 (0xa2)

None
    Key value 163 (0xa3)

None
    Key value 164 (0xa4)

None
    Key value 165 (0xa5)

None
    Key value 166 (0xa6)

None
    Key value 167 (0xa7)

None
    Key value 168 (0xa8)

None
    Key value 169 (0xa9)

ISO_Section
    Key value 170 (0xaa)

None
    Key value 171 (0xab)

None
    Key value 172 (0xac)

None
    Key value 173 (0xad)

None
    Key value 174 (0xae)

None
    Key value 175 (0xaf)

None
    Key value 176 (0xb0)

None
    Key value 177 (0xb1)

None
    Key value 178 (0xb2)

None
    Key value 179 (0xb3)

None
    Key value 180 (0xb4)

None
    Key value 181 (0xb5)

None
    Key value 182 (0xb6)

F13 Key value 183 (0xb7)

F14 Key value 184 (0xb8)

F15 Key value 185 (0xb9)

F16 Key value 186 (0xba)

F17 Key value 187 (0xbb)

F18 Key value 188 (0xbc)

F19 Key value 189 (0xbd)

F20 Key value 190 (0xbe)

None
    Key value 191 (0xbf)

None
    Key value 192 (0xc0)

None
    Key value 193 (0xc1)

None
    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)

None
    Key value 200 (0xc8)

None
    Key value 201 (0xc9)

None
    Key value 202 (0xca)

None
    Key value 203 (0xcb)

None
    Key value 204 (0xcc)

None
    Key value 205 (0xcd)

None
    Key value 206 (0xce)

None
    Key value 207 (0xcf)

None
    Key value 208 (0xd0)

None
    Key value 209 (0xd1)

None
    Key value 210 (0xd2)

None
    Key value 211 (0xd3)

None
    Key value 212 (0xd4)

None
    Key value 213 (0xd5)

None
    Key value 214 (0xd6)

None
    Key value 215 (0xd7)

None
    Key value 216 (0xd8)

None
    Key value 217 (0xd9)

None
    Key value 218 (0xda)

None
    Key value 219 (0xdb)

None
    Key value 220 (0xdc)

None
    Key value 221 (0xdd)

None
    Key value 222 (0xde)

None
    Key value 223 (0xdf)

None
    Key value 224 (0xe0)

None
    Key value 225 (0xe1)

None
    Key value 226 (0xe2)

None
    Key value 227 (0xe3)

None
    Key value 228 (0xe4)

None
    Key value 229 (0xe5)

None
    Key value 230 (0xe6)

None
    Key value 231 (0xe7)

None
    Key value 232 (0xe8)

None
    Key value 233 (0xe9)

None
    Key value 234 (0xea)

None
    Key value 235 (0xeb)

None
    Key value 236 (0xec)

None
    Key value 237 (0xed)

None
    Key value 238 (0xee)

None
    Key value 239 (0xef)

None
    Key value 240 (0xf0)

None
    Key value 241 (0xf1)

None
    Key value 242 (0xf2)

None
    Key value 243 (0xf3)

None
    Key value 244 (0xf4)

None
    Key value 245 (0xf5)

None
    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)

None
    Key value 256 (0x100)

None
    Key value 257 (0x101)

None
    Key value 258 (0x102)

None
    Key value 259 (0x103)

None
    Key value 260 (0x104)

None
    Key value 261 (0x105)

None
    Key value 262 (0x106)

None
    Key value 263 (0x107)

None
    Key value 264 (0x108)

None
    Key value 265 (0x109)

None
    Key value 272 (0x110)

None
    Key value 273 (0x111)

None
    Key value 274 (0x112)

None
    Key value 275 (0x113)

None
    Key value 276 (0x114)

None
    Key value 277 (0x115)

None
    Key value 278 (0x116)

None
    Key value 279 (0x117)

None
    Key value 288 (0x120)

None
    Key value 289 (0x121)

None
    Key value 290 (0x122)

None
    Key value 291 (0x123)

None
    Key value 292 (0x124)

None
    Key value 293 (0x125)

None
    Key value 294 (0x126)

None
    Key value 295 (0x127)

None
    Key value 296 (0x128)

None
    Key value 297 (0x129)

None
    Key value 298 (0x12a)

None
    Key value 299 (0x12b)

None
    Key value 303 (0x12f)

None
    Key value 304 (0x130)

None
    Key value 305 (0x131)

None
    Key value 306 (0x132)

None
    Key value 307 (0x133)

None
    Key value 308 (0x134)

None
    Key value 309 (0x135)

None
    Key value 310 (0x136)

None
    Key value 311 (0x137)

None
    Key value 312 (0x138)

None
    Key value 313 (0x139)

None
    Key value 314 (0x13a)

None
    Key value 315 (0x13b)

None
    Key value 316 (0x13c)

None
    Key value 317 (0x13d)

None
    Key value 318 (0x13e)

None
    Key value 320 (0x140)

None
    Key value 321 (0x141)

None
    Key value 322 (0x142)

None
    Key value 323 (0x143)

None
    Key value 324 (0x144)

None
    Key value 325 (0x145)

None
    Key value 326 (0x146)

None
    Key value 327 (0x147)

None
    Key value 330 (0x14a)

None
    Key value 331 (0x14b)

None
    Key value 332 (0x14c)

None
    Key value 333 (0x14d)

None
    Key value 334 (0x14e)

None
    Key value 335 (0x14f)

None
    Key value 336 (0x150)

None
    Key value 337 (0x151)

None
    Key value 352 (0x160)

None
    Key value 353 (0x161)

None
    Key value 354 (0x162)

None
    Key value 355 (0x163)

None
    Key value 356 (0x164)

None
    Key value 357 (0x165)

None
    Key value 358 (0x166)

None
    Key value 359 (0x167)

None
    Key value 360 (0x168)

None
    Key value 361 (0x169)

None
    Key value 362 (0x16a)

None
    Key value 363 (0x16b)

None
    Key value 364 (0x16c)

None
    Key value 365 (0x16d)

None
    Key value 366 (0x16e)

None
    Key value 367 (0x16f)

None
    Key value 368 (0x170)

None
    Key value 369 (0x171)

None
    Key value 370 (0x172)

None
    Key value 371 (0x173)

None
    Key value 372 (0x174)

None
    Key value 373 (0x175)

None
    Key value 374 (0x176)

None
    Key value 375 (0x177)

None
    Key value 376 (0x178)

None
    Key value 377 (0x179)

None
    Key value 378 (0x17a)

None
    Key value 379 (0x17b)

None
    Key value 380 (0x17c)

None
    Key value 381 (0x17d)

None
    Key value 382 (0x17e)

None
    Key value 383 (0x17f)

None
    Key value 384 (0x180)

None
    Key value 385 (0x181)

None
    Key value 386 (0x182)

None
    Key value 387 (0x183)

None
    Key value 388 (0x184)

None
    Key value 389 (0x185)

None
    Key value 390 (0x186)

None
    Key value 391 (0x187)

None
    Key value 392 (0x188)

None
    Key value 393 (0x189)

None
    Key value 394 (0x18a)

None
    Key value 395 (0x18b)

None
    Key value 396 (0x18c)

None
    Key value 397 (0x18d)

None
    Key value 398 (0x18e)

None
    Key value 399 (0x18f)

None
    Key value 400 (0x190)

None
    Key value 401 (0x191)

None
    Key value 402 (0x192)

None
    Key value 403 (0x193)

None
    Key value 404 (0x194)

None
    Key value 405 (0x195)

None
    Key value 406 (0x196)

None
    Key value 407 (0x197)

None
    Key value 408 (0x198)

None
    Key value 409 (0x199)

None
    Key value 410 (0x19a)

None
    Key value 411 (0x19b)

None
    Key value 412 (0x19c)

None
    Key value 413 (0x19d)

None
    Key value 414 (0x19e)

None
    Key value 415 (0x19f)

None
    Key value 416 (0x1a0)

None
    Key value 417 (0x1a1)

None
    Key value 418 (0x1a2)

None
    Key value 419 (0x1a3)

None
    Key value 420 (0x1a4)

None
    Key value 421 (0x1a5)

None
    Key value 422 (0x1a6)

None
    Key value 423 (0x1a7)

None
    Key value 424 (0x1a8)

None
    Key value 425 (0x1a9)

None
    Key value 426 (0x1aa)

None
    Key value 427 (0x1ab)

None
    Key value 428 (0x1ac)

None
    Key value 429 (0x1ad)

None
    Key value 430 (0x1ae)

None
    Key value 431 (0x1af)

None
    Key value 432 (0x1b0)

None
    Key value 433 (0x1b1)

None
    Key value 434 (0x1b2)

None
    Key value 435 (0x1b3)

None
    Key value 436 (0x1b4)

None
    Key value 437 (0x1b5)

None
    Key value 438 (0x1b6)

None
    Key value 439 (0x1b7)

None
    Key value 448 (0x1c0)

None
    Key value 449 (0x1c1)

None
    Key value 450 (0x1c2)

None
    Key value 451 (0x1c3)

Function
    Key value 464 (0x1d0)

None
    Key value 465 (0x1d1)

None
    Key value 466 (0x1d2)

None
    Key value 467 (0x1d3)

None
    Key value 468 (0x1d4)

None
    Key value 469 (0x1d5)

None
    Key value 470 (0x1d6)

None
    Key value 471 (0x1d7)

None
    Key value 472 (0x1d8)

None
    Key value 473 (0x1d9)

None
    Key value 474 (0x1da)

None
    Key value 475 (0x1db)

None
    Key value 476 (0x1dc)

None
    Key value 477 (0x1dd)

None
    Key value 478 (0x1de)

None
    Key value 479 (0x1df)

None
    Key value 480 (0x1e0)

None
    Key value 481 (0x1e1)

None
    Key value 482 (0x1e2)

None
    Key value 483 (0x1e3)

None
    Key value 484 (0x1e4)

None
    Key value 497 (0x1f1)

None
    Key value 498 (0x1f2)

None
    Key value 499 (0x1f3)

None
    Key value 500 (0x1f4)

None
    Key value 501 (0x1f5)

None
    Key value 502 (0x1f6)

None
    Key value 503 (0x1f7)

None
    Key value 504 (0x1f8)

None
    Key value 505 (0x1f9)

None
    Key value 506 (0x1fa)

None
    Key value 512 (0x200)

None
    Key value 513 (0x201)

None
    Key value 514 (0x202)

None
    Key value 515 (0x203)

None
    Key value 516 (0x204)

None
    Key value 517 (0x205)

None
    Key value 518 (0x206)

None
    Key value 519 (0x207)

None
    Key value 520 (0x208)

None
    Key value 521 (0x209)

None
    Key value 522 (0x20a)

None
    Key value 523 (0x20b)

None
    Key value 524 (0x20c)