#[repr(u16)]pub enum Key {
Show 520 variants
KeyReserved = 0,
KeyEsc = 1,
Key1 = 2,
Key2 = 3,
Key3 = 4,
Key4 = 5,
Key5 = 6,
Key6 = 7,
Key7 = 8,
Key8 = 9,
Key9 = 10,
Key0 = 11,
KeyMinus = 12,
KeyEqual = 13,
KeyBackspace = 14,
KeyTab = 15,
KeyQ = 16,
KeyW = 17,
KeyE = 18,
KeyR = 19,
KeyT = 20,
KeyY = 21,
KeyU = 22,
KeyI = 23,
KeyO = 24,
KeyP = 25,
KeyLeftBrace = 26,
KeyRightBrace = 27,
KeyEnter = 28,
KeyLeftCtrl = 29,
KeyA = 30,
KeyS = 31,
KeyD = 32,
KeyF = 33,
KeyG = 34,
KeyH = 35,
KeyJ = 36,
KeyK = 37,
KeyL = 38,
KeySemicolon = 39,
KeyApostrophe = 40,
KeyGrave = 41,
KeyLeftShift = 42,
KeyBackslash = 43,
KeyZ = 44,
KeyX = 45,
KeyC = 46,
KeyV = 47,
KeyB = 48,
KeyN = 49,
KeyM = 50,
KeyComma = 51,
KeyDot = 52,
KeySlash = 53,
KeyRightShift = 54,
KeyKpAsterisk = 55,
KeyLeftAlt = 56,
KeySpace = 57,
KeyCapsLock = 58,
KeyF1 = 59,
KeyF2 = 60,
KeyF3 = 61,
KeyF4 = 62,
KeyF5 = 63,
KeyF6 = 64,
KeyF7 = 65,
KeyF8 = 66,
KeyF9 = 67,
KeyF10 = 68,
KeyNumLock = 69,
KeyScrollLock = 70,
KeyKp7 = 71,
KeyKp8 = 72,
KeyKp9 = 73,
KeyKpMinus = 74,
KeyKp4 = 75,
KeyKp5 = 76,
KeyKp6 = 77,
KeyKpPlus = 78,
KeyKp1 = 79,
KeyKp2 = 80,
KeyKp3 = 81,
KeyKp0 = 82,
KeyKpDot = 83,
KeyZenkakuhankaku = 85,
Key102nd = 86,
KeyF11 = 87,
KeyF12 = 88,
KeyRo = 89,
KeyKatakana = 90,
KeyHiragana = 91,
KeyHenkan = 92,
KeyKatakanahiragana = 93,
KeyMuhenkan = 94,
KeyKpJpComma = 95,
KeyKpEnter = 96,
KeyRightCtrl = 97,
KeyKpSlash = 98,
KeySysRQ = 99,
KeyRightAlt = 100,
KeyLinefeed = 101,
KeyHome = 102,
KeyUp = 103,
KeyPageup = 104,
KeyLeft = 105,
KeyRight = 106,
KeyEnd = 107,
KeyDown = 108,
KeyPagedown = 109,
KeyInsert = 110,
KeyDelete = 111,
KeyMacro = 112,
KeyMute = 113,
KeyVolumeDown = 114,
KeyVolumeUp = 115,
KeyPower = 116,
KeyKpEqual = 117,
KeyKpPlusMinus = 118,
KeyPause = 119,
KeyScale = 120,
KeyKpComma = 121,
KeyHangeul = 122,
KeyHanja = 123,
KeyYen = 124,
KeyLeftMeta = 125,
KeyRightMeta = 126,
KeyCompose = 127,
KeyStop = 128,
KeyAgain = 129,
KeyProps = 130,
KeyUndo = 131,
KeyFront = 132,
KeyCopy = 133,
KeyOpen = 134,
KeyPaste = 135,
KeyFind = 136,
KeyCut = 137,
KeyHelp = 138,
KeyMenu = 139,
KeyCalc = 140,
KeySetup = 141,
KeySleep = 142,
KeyWakeup = 143,
KeyFile = 144,
KeySendfile = 145,
KeyDeleteFile = 146,
KeyXfer = 147,
KeyProg1 = 148,
KeyProg2 = 149,
KeyWww = 150,
KeyMsDos = 151,
KeyCoffee = 152,
KeyDirection = 153,
KeyCycleWindows = 154,
KeyMail = 155,
KeyBookmarks = 156,
KeyComputer = 157,
KeyBack = 158,
KeyForward = 159,
KeyCloseCd = 160,
KeyEjectCd = 161,
KeyEjectCloseCd = 162,
KeyNextSong = 163,
KeyPlayPause = 164,
KeyPreviousSong = 165,
KeyStopCd = 166,
KeyRecord = 167,
KeyRewind = 168,
KeyPhone = 169,
KeyIso = 170,
KeyConfig = 171,
KeyHomepage = 172,
KeyRefresh = 173,
KeyExit = 174,
KeyMove = 175,
KeyEdit = 176,
KeyScrollUp = 177,
KeyScrollDown = 178,
KeyKpLeftParen = 179,
KeyKpRightParen = 180,
KeyNew = 181,
KeyRedo = 182,
KeyF13 = 183,
KeyF14 = 184,
KeyF15 = 185,
KeyF16 = 186,
KeyF17 = 187,
KeyF18 = 188,
KeyF19 = 189,
KeyF20 = 190,
KeyF21 = 191,
KeyF22 = 192,
KeyF23 = 193,
KeyF24 = 194,
KeyPlayCd = 200,
KeyPauseCd = 201,
KeyProg3 = 202,
KeyProg4 = 203,
KeyDashboard = 204,
KeySuspend = 205,
KeyClose = 206,
KeyPlay = 207,
KeyFastForward = 208,
KeyBassBoost = 209,
KeyPrint = 210,
KeyHp = 211,
KeyCamera = 212,
KeySound = 213,
KeyQuestion = 214,
KeyEmail = 215,
KeyChat = 216,
KeySearch = 217,
KeyConnect = 218,
KeyFinance = 219,
KeySport = 220,
KeyShop = 221,
KeyAltErase = 222,
KeyCancel = 223,
KeyBrightnessDown = 224,
KeyBrightnessUp = 225,
KeyMedia = 226,
KeySwitchVideoMode = 227,
KeyKbDillumToggle = 228,
KeyKbDillumDown = 229,
KeyKbDillumUp = 230,
KeySend = 231,
KeyReply = 232,
KeyForwardMail = 233,
KeySave = 234,
KeyDocuments = 235,
KeyBattery = 236,
KeyBluetooth = 237,
KeyWlan = 238,
KeyUwb = 239,
KeyUnknown = 240,
KeyVideoNext = 241,
KeyVideoPrev = 242,
KeyBrightnessCycle = 243,
KeyBrightnessAuto = 244,
KeyDisplayOff = 245,
KeyWwan = 246,
KeyRfKill = 247,
KeyMicMute = 248,
Btn0 = 256,
Btn1 = 257,
Btn2 = 258,
Btn3 = 259,
Btn4 = 260,
Btn5 = 261,
Btn6 = 262,
Btn7 = 263,
Btn8 = 264,
Btn9 = 265,
BtnLeft = 272,
BtnRight = 273,
BtnMiddle = 274,
BtnSide = 275,
BtnExtra = 276,
BtnForward = 277,
BtnBack = 278,
BtnTask = 279,
BtnTrigger = 288,
BtnThumb = 289,
BtnThumb2 = 290,
BtnTop = 291,
BtnTop2 = 292,
BtnPinkie = 293,
BtnBase = 294,
BtnBase2 = 295,
BtnBase3 = 296,
BtnBase4 = 297,
BtnBase5 = 298,
BtnBase6 = 299,
BtnDead = 303,
BtnSouth = 304,
BtnEast = 305,
BtnC = 306,
BtnNorth = 307,
BtnWest = 308,
BtnZ = 309,
BtnTl = 310,
BtnTr = 311,
BtnTl2 = 312,
BtnTr2 = 313,
BtnSelect = 314,
BtnStart = 315,
BtnMode = 316,
BtnThumbL = 317,
BtnThumbR = 318,
BtnToolPen = 320,
BtnToolRubber = 321,
BtnToolBrush = 322,
BtnToolPencil = 323,
BtnToolAirbrush = 324,
BtnToolFinger = 325,
BtnToolMouse = 326,
BtnToolLens = 327,
BtnToolQuintTap = 328,
BtnTouch = 330,
BtnStylus = 331,
BtnStylus2 = 332,
BtnToolDoubleTap = 333,
BtnToolTripleTap = 334,
BtnToolQuadTap = 335,
BtnGearDown = 336,
BtnGearUp = 337,
KeyOk = 352,
KeySelect = 353,
KeyGoto = 354,
KeyClear = 355,
KeyPower2 = 356,
KeyOption = 357,
KeyInfo = 358,
KeyTime = 359,
KeyVendor = 360,
KeyArchive = 361,
KeyProgram = 362,
KeyChannel = 363,
KeyFavorites = 364,
KeyEpg = 365,
KeyPvr = 366,
KeyMhp = 367,
KeyLanguage = 368,
KeyTitle = 369,
KeySubtitle = 370,
KeyAngle = 371,
KeyZoom = 372,
KeyMode = 373,
KeyKeyboard = 374,
KeyScreen = 375,
KeyPc = 376,
KeyTv = 377,
KeyTv2 = 378,
KeyVcr = 379,
KeyVcr2 = 380,
KeySat = 381,
KeySat2 = 382,
KeyCd = 383,
KeyTape = 384,
KeyRadio = 385,
KeyTuner = 386,
KeyPlayer = 387,
KeyText = 388,
KeyDvd = 389,
KeyAux = 390,
KeyMp3 = 391,
KeyAudio = 392,
KeyVideo = 393,
KeyDirectory = 394,
KeyList = 395,
KeyMemo = 396,
KeyCalendar = 397,
KeyRed = 398,
KeyGreen = 399,
KeyYellow = 400,
KeyBlue = 401,
KeyChannelUp = 402,
KeyChannelDown = 403,
KeyFirst = 404,
KeyLast = 405,
KeyAb = 406,
KeyNext = 407,
KeyRestart = 408,
KeySlow = 409,
KeyShuffle = 410,
KeyBreak = 411,
KeyPrevious = 412,
KeyDigits = 413,
KeyTeen = 414,
KeyTwen = 415,
KeyVideophone = 416,
KeyGames = 417,
KeyZoomIn = 418,
KeyZoomOut = 419,
KeyZoomReset = 420,
KeyWordProcessor = 421,
KeyEditor = 422,
KeySpreadsheet = 423,
KeyGraphicsEditor = 424,
KeyPresentation = 425,
KeyDatabase = 426,
KeyNews = 427,
KeyVoiceMail = 428,
KeyAddressBook = 429,
KeyMessenger = 430,
KeyDisplayToggle = 431,
KeySpellcheck = 432,
KeyLogoff = 433,
KeyDollar = 434,
KeyEuro = 435,
KeyFrameBack = 436,
KeyFrameForward = 437,
KeyContextMenu = 438,
KeyMediaRepeat = 439,
Key10ChannelsUp = 440,
Key10ChannelsDown = 441,
KeyImages = 442,
KeyDelEol = 448,
KeyDelEos = 449,
KeyInsLine = 450,
KeyDelLine = 451,
KeyFn = 464,
KeyFnEsc = 465,
KeyFnF1 = 466,
KeyFnF2 = 467,
KeyFnF3 = 468,
KeyFnF4 = 469,
KeyFnF5 = 470,
KeyFnF6 = 471,
KeyFnF7 = 472,
KeyFnF8 = 473,
KeyFnF9 = 474,
KeyFnF10 = 475,
KeyFnF11 = 476,
KeyFnF12 = 477,
KeyFn1 = 478,
KeyFn2 = 479,
KeyFnD = 480,
KeyFnE = 481,
KeyFnF = 482,
KeyFnS = 483,
KeyFnB = 484,
KeyBrlDot1 = 497,
KeyBrlDot2 = 498,
KeyBrlDot3 = 499,
KeyBrlDot4 = 500,
KeyBrlDot5 = 501,
KeyBrlDot6 = 502,
KeyBrlDot7 = 503,
KeyBrlDot8 = 504,
KeyBrlDot9 = 505,
KeyBrlDot10 = 506,
KeyNumeric0 = 512,
KeyNumeric1 = 513,
KeyNumeric2 = 514,
KeyNumeric3 = 515,
KeyNumeric4 = 516,
KeyNumeric5 = 517,
KeyNumeric6 = 518,
KeyNumeric7 = 519,
KeyNumeric8 = 520,
KeyNumeric9 = 521,
KeyNumericStar = 522,
KeyNumericPound = 523,
KeyCameraFocus = 528,
KeyWpsButton = 529,
KeyTouchpadToggle = 530,
KeyTouchpadOn = 531,
KeyTouchpadOff = 532,
KeyCameraZoomIn = 533,
KeyCameraZoomOut = 534,
KeyCameraUp = 535,
KeyCameraDown = 536,
KeyCameraLeft = 537,
KeyCameraRight = 538,
KeyAttendantOn = 539,
KeyAttendantOff = 540,
KeyAttendantToggle = 541,
KeyLightsToggle = 542,
BtnDpadUp = 544,
BtnDpadDown = 545,
BtnDpadLeft = 546,
BtnDpadRight = 547,
KeyAlsToggle = 560,
KeyButtonConfig = 576,
KeyTaskManager = 577,
KeyJournal = 578,
KeyControlPanel = 579,
KeyAppSelect = 580,
KeyScreenSaver = 581,
KeyVoiceCommand = 582,
KeyBrightnessMin = 592,
KeyBrightnessMax = 593,
KeyKbdinputassistPrev = 608,
KeyKbdinputassistNext = 609,
KeyKbdinputassistPrevgroup = 610,
KeyKbdinputassistNextgroup = 611,
KeyKbdinputassistAccept = 612,
KeyKbdinputassistCancel = 613,
BtnTriggerHappy1 = 704,
BtnTriggerHappy2 = 705,
BtnTriggerHappy3 = 706,
BtnTriggerHappy4 = 707,
BtnTriggerHappy5 = 708,
BtnTriggerHappy6 = 709,
BtnTriggerHappy7 = 710,
BtnTriggerHappy8 = 711,
BtnTriggerHappy9 = 712,
BtnTriggerHappy10 = 713,
BtnTriggerHappy11 = 714,
BtnTriggerHappy12 = 715,
BtnTriggerHappy13 = 716,
BtnTriggerHappy14 = 717,
BtnTriggerHappy15 = 718,
BtnTriggerHappy16 = 719,
BtnTriggerHappy17 = 720,
BtnTriggerHappy18 = 721,
BtnTriggerHappy19 = 722,
BtnTriggerHappy20 = 723,
BtnTriggerHappy21 = 724,
BtnTriggerHappy22 = 725,
BtnTriggerHappy23 = 726,
BtnTriggerHappy24 = 727,
BtnTriggerHappy25 = 728,
BtnTriggerHappy26 = 729,
BtnTriggerHappy27 = 730,
BtnTriggerHappy28 = 731,
BtnTriggerHappy29 = 732,
BtnTriggerHappy30 = 733,
BtnTriggerHappy31 = 734,
BtnTriggerHappy32 = 735,
BtnTriggerHappy33 = 736,
BtnTriggerHappy34 = 737,
BtnTriggerHappy35 = 738,
BtnTriggerHappy36 = 739,
BtnTriggerHappy37 = 740,
BtnTriggerHappy38 = 741,
BtnTriggerHappy39 = 742,
BtnTriggerHappy40 = 743,
KeyMax = 767,
}
Expand description
evdev keycode
Variantsยง
KeyReserved = 0
KeyEsc = 1
Key1 = 2
Key2 = 3
Key3 = 4
Key4 = 5
Key5 = 6
Key6 = 7
Key7 = 8
Key8 = 9
Key9 = 10
Key0 = 11
KeyMinus = 12
KeyEqual = 13
KeyBackspace = 14
KeyTab = 15
KeyQ = 16
KeyW = 17
KeyE = 18
KeyR = 19
KeyT = 20
KeyY = 21
KeyU = 22
KeyI = 23
KeyO = 24
KeyP = 25
KeyLeftBrace = 26
KeyRightBrace = 27
KeyEnter = 28
KeyLeftCtrl = 29
KeyA = 30
KeyS = 31
KeyD = 32
KeyF = 33
KeyG = 34
KeyH = 35
KeyJ = 36
KeyK = 37
KeyL = 38
KeySemicolon = 39
KeyApostrophe = 40
KeyGrave = 41
KeyLeftShift = 42
KeyBackslash = 43
KeyZ = 44
KeyX = 45
KeyC = 46
KeyV = 47
KeyB = 48
KeyN = 49
KeyM = 50
KeyComma = 51
KeyDot = 52
KeySlash = 53
KeyRightShift = 54
KeyKpAsterisk = 55
KeyLeftAlt = 56
KeySpace = 57
KeyCapsLock = 58
KeyF1 = 59
KeyF2 = 60
KeyF3 = 61
KeyF4 = 62
KeyF5 = 63
KeyF6 = 64
KeyF7 = 65
KeyF8 = 66
KeyF9 = 67
KeyF10 = 68
KeyNumLock = 69
KeyScrollLock = 70
KeyKp7 = 71
KeyKp8 = 72
KeyKp9 = 73
KeyKpMinus = 74
KeyKp4 = 75
KeyKp5 = 76
KeyKp6 = 77
KeyKpPlus = 78
KeyKp1 = 79
KeyKp2 = 80
KeyKp3 = 81
KeyKp0 = 82
KeyKpDot = 83
KeyZenkakuhankaku = 85
Key102nd = 86
KeyF11 = 87
KeyF12 = 88
KeyRo = 89
KeyKatakana = 90
KeyHiragana = 91
KeyHenkan = 92
KeyKatakanahiragana = 93
KeyMuhenkan = 94
KeyKpJpComma = 95
KeyKpEnter = 96
KeyRightCtrl = 97
KeyKpSlash = 98
KeySysRQ = 99
KeyRightAlt = 100
KeyLinefeed = 101
KeyHome = 102
KeyUp = 103
KeyPageup = 104
KeyLeft = 105
KeyRight = 106
KeyEnd = 107
KeyDown = 108
KeyPagedown = 109
KeyInsert = 110
KeyDelete = 111
KeyMacro = 112
KeyMute = 113
KeyVolumeDown = 114
KeyVolumeUp = 115
KeyPower = 116
KeyKpEqual = 117
KeyKpPlusMinus = 118
KeyPause = 119
KeyScale = 120
KeyKpComma = 121
KeyHangeul = 122
KeyHanja = 123
KeyYen = 124
KeyLeftMeta = 125
KeyRightMeta = 126
KeyCompose = 127
KeyStop = 128
KeyAgain = 129
KeyProps = 130
KeyUndo = 131
KeyFront = 132
KeyCopy = 133
KeyOpen = 134
KeyPaste = 135
KeyFind = 136
KeyCut = 137
KeyHelp = 138
KeyMenu = 139
KeyCalc = 140
KeySetup = 141
KeySleep = 142
KeyWakeup = 143
KeyFile = 144
KeySendfile = 145
KeyDeleteFile = 146
KeyXfer = 147
KeyProg1 = 148
KeyProg2 = 149
KeyWww = 150
KeyMsDos = 151
KeyCoffee = 152
KeyDirection = 153
KeyCycleWindows = 154
KeyMail = 155
KeyBookmarks = 156
KeyComputer = 157
KeyBack = 158
KeyForward = 159
KeyCloseCd = 160
KeyEjectCd = 161
KeyEjectCloseCd = 162
KeyNextSong = 163
KeyPlayPause = 164
KeyPreviousSong = 165
KeyStopCd = 166
KeyRecord = 167
KeyRewind = 168
KeyPhone = 169
KeyIso = 170
KeyConfig = 171
KeyHomepage = 172
KeyRefresh = 173
KeyExit = 174
KeyMove = 175
KeyEdit = 176
KeyScrollUp = 177
KeyScrollDown = 178
KeyKpLeftParen = 179
KeyKpRightParen = 180
KeyNew = 181
KeyRedo = 182
KeyF13 = 183
KeyF14 = 184
KeyF15 = 185
KeyF16 = 186
KeyF17 = 187
KeyF18 = 188
KeyF19 = 189
KeyF20 = 190
KeyF21 = 191
KeyF22 = 192
KeyF23 = 193
KeyF24 = 194
KeyPlayCd = 200
KeyPauseCd = 201
KeyProg3 = 202
KeyProg4 = 203
KeyDashboard = 204
KeySuspend = 205
KeyClose = 206
KeyPlay = 207
KeyFastForward = 208
KeyBassBoost = 209
KeyPrint = 210
KeyHp = 211
KeyCamera = 212
KeySound = 213
KeyQuestion = 214
KeyEmail = 215
KeyChat = 216
KeySearch = 217
KeyConnect = 218
KeyFinance = 219
KeySport = 220
KeyShop = 221
KeyAltErase = 222
KeyCancel = 223
KeyBrightnessDown = 224
KeyBrightnessUp = 225
KeyMedia = 226
KeySwitchVideoMode = 227
KeyKbDillumToggle = 228
KeyKbDillumDown = 229
KeyKbDillumUp = 230
KeySend = 231
KeyReply = 232
KeyForwardMail = 233
KeySave = 234
KeyDocuments = 235
KeyBattery = 236
KeyBluetooth = 237
KeyWlan = 238
KeyUwb = 239
KeyUnknown = 240
KeyVideoNext = 241
KeyVideoPrev = 242
KeyBrightnessCycle = 243
KeyBrightnessAuto = 244
KeyDisplayOff = 245
KeyWwan = 246
KeyRfKill = 247
KeyMicMute = 248
Btn0 = 256
Btn1 = 257
Btn2 = 258
Btn3 = 259
Btn4 = 260
Btn5 = 261
Btn6 = 262
Btn7 = 263
Btn8 = 264
Btn9 = 265
BtnLeft = 272
BtnRight = 273
BtnMiddle = 274
BtnSide = 275
BtnExtra = 276
BtnForward = 277
BtnBack = 278
BtnTask = 279
BtnTrigger = 288
BtnThumb = 289
BtnThumb2 = 290
BtnTop = 291
BtnTop2 = 292
BtnPinkie = 293
BtnBase = 294
BtnBase2 = 295
BtnBase3 = 296
BtnBase4 = 297
BtnBase5 = 298
BtnBase6 = 299
BtnDead = 303
BtnSouth = 304
BtnEast = 305
BtnC = 306
BtnNorth = 307
BtnWest = 308
BtnZ = 309
BtnTl = 310
BtnTr = 311
BtnTl2 = 312
BtnTr2 = 313
BtnSelect = 314
BtnStart = 315
BtnMode = 316
BtnThumbL = 317
BtnThumbR = 318
BtnToolPen = 320
BtnToolRubber = 321
BtnToolBrush = 322
BtnToolPencil = 323
BtnToolAirbrush = 324
BtnToolFinger = 325
BtnToolMouse = 326
BtnToolLens = 327
BtnToolQuintTap = 328
BtnTouch = 330
BtnStylus = 331
BtnStylus2 = 332
BtnToolDoubleTap = 333
BtnToolTripleTap = 334
BtnToolQuadTap = 335
BtnGearDown = 336
BtnGearUp = 337
KeyOk = 352
KeySelect = 353
KeyGoto = 354
KeyClear = 355
KeyPower2 = 356
KeyOption = 357
KeyInfo = 358
KeyTime = 359
KeyVendor = 360
KeyArchive = 361
KeyProgram = 362
KeyChannel = 363
KeyFavorites = 364
KeyEpg = 365
KeyPvr = 366
KeyMhp = 367
KeyLanguage = 368
KeyTitle = 369
KeySubtitle = 370
KeyAngle = 371
KeyZoom = 372
KeyMode = 373
KeyKeyboard = 374
KeyScreen = 375
KeyPc = 376
KeyTv = 377
KeyTv2 = 378
KeyVcr = 379
KeyVcr2 = 380
KeySat = 381
KeySat2 = 382
KeyCd = 383
KeyTape = 384
KeyRadio = 385
KeyTuner = 386
KeyPlayer = 387
KeyText = 388
KeyDvd = 389
KeyAux = 390
KeyMp3 = 391
KeyAudio = 392
KeyVideo = 393
KeyDirectory = 394
KeyList = 395
KeyMemo = 396
KeyCalendar = 397
KeyRed = 398
KeyGreen = 399
KeyYellow = 400
KeyBlue = 401
KeyChannelUp = 402
KeyChannelDown = 403
KeyFirst = 404
KeyLast = 405
KeyAb = 406
KeyNext = 407
KeyRestart = 408
KeySlow = 409
KeyShuffle = 410
KeyBreak = 411
KeyPrevious = 412
KeyDigits = 413
KeyTeen = 414
KeyTwen = 415
KeyVideophone = 416
KeyGames = 417
KeyZoomIn = 418
KeyZoomOut = 419
KeyZoomReset = 420
KeyWordProcessor = 421
KeyEditor = 422
KeySpreadsheet = 423
KeyGraphicsEditor = 424
KeyPresentation = 425
KeyDatabase = 426
KeyNews = 427
KeyVoiceMail = 428
KeyAddressBook = 429
KeyMessenger = 430
KeyDisplayToggle = 431
KeySpellcheck = 432
KeyLogoff = 433
KeyDollar = 434
KeyEuro = 435
KeyFrameBack = 436
KeyFrameForward = 437
KeyContextMenu = 438
KeyMediaRepeat = 439
Key10ChannelsUp = 440
Key10ChannelsDown = 441
KeyImages = 442
KeyDelEol = 448
KeyDelEos = 449
KeyInsLine = 450
KeyDelLine = 451
KeyFn = 464
KeyFnEsc = 465
KeyFnF1 = 466
KeyFnF2 = 467
KeyFnF3 = 468
KeyFnF4 = 469
KeyFnF5 = 470
KeyFnF6 = 471
KeyFnF7 = 472
KeyFnF8 = 473
KeyFnF9 = 474
KeyFnF10 = 475
KeyFnF11 = 476
KeyFnF12 = 477
KeyFn1 = 478
KeyFn2 = 479
KeyFnD = 480
KeyFnE = 481
KeyFnF = 482
KeyFnS = 483
KeyFnB = 484
KeyBrlDot1 = 497
KeyBrlDot2 = 498
KeyBrlDot3 = 499
KeyBrlDot4 = 500
KeyBrlDot5 = 501
KeyBrlDot6 = 502
KeyBrlDot7 = 503
KeyBrlDot8 = 504
KeyBrlDot9 = 505
KeyBrlDot10 = 506
KeyNumeric0 = 512
KeyNumeric1 = 513
KeyNumeric2 = 514
KeyNumeric3 = 515
KeyNumeric4 = 516
KeyNumeric5 = 517
KeyNumeric6 = 518
KeyNumeric7 = 519
KeyNumeric8 = 520
KeyNumeric9 = 521
KeyNumericStar = 522
KeyNumericPound = 523
KeyCameraFocus = 528
KeyWpsButton = 529
KeyTouchpadToggle = 530
KeyTouchpadOn = 531
KeyTouchpadOff = 532
KeyCameraZoomIn = 533
KeyCameraZoomOut = 534
KeyCameraUp = 535
KeyCameraDown = 536
KeyCameraLeft = 537
KeyCameraRight = 538
KeyAttendantOn = 539
KeyAttendantOff = 540
KeyAttendantToggle = 541
KeyLightsToggle = 542
BtnDpadUp = 544
BtnDpadDown = 545
BtnDpadLeft = 546
BtnDpadRight = 547
KeyAlsToggle = 560
KeyButtonConfig = 576
KeyTaskManager = 577
KeyJournal = 578
KeyControlPanel = 579
KeyAppSelect = 580
KeyScreenSaver = 581
KeyVoiceCommand = 582
KeyBrightnessMin = 592
KeyBrightnessMax = 593
KeyKbdinputassistPrev = 608
KeyKbdinputassistNext = 609
KeyKbdinputassistPrevgroup = 610
KeyKbdinputassistNextgroup = 611
KeyKbdinputassistAccept = 612
KeyKbdinputassistCancel = 613
BtnTriggerHappy1 = 704
BtnTriggerHappy2 = 705
BtnTriggerHappy3 = 706
BtnTriggerHappy4 = 707
BtnTriggerHappy5 = 708
BtnTriggerHappy6 = 709
BtnTriggerHappy7 = 710
BtnTriggerHappy8 = 711
BtnTriggerHappy9 = 712
BtnTriggerHappy10 = 713
BtnTriggerHappy11 = 714
BtnTriggerHappy12 = 715
BtnTriggerHappy13 = 716
BtnTriggerHappy14 = 717
BtnTriggerHappy15 = 718
BtnTriggerHappy16 = 719
BtnTriggerHappy17 = 720
BtnTriggerHappy18 = 721
BtnTriggerHappy19 = 722
BtnTriggerHappy20 = 723
BtnTriggerHappy21 = 724
BtnTriggerHappy22 = 725
BtnTriggerHappy23 = 726
BtnTriggerHappy24 = 727
BtnTriggerHappy25 = 728
BtnTriggerHappy26 = 729
BtnTriggerHappy27 = 730
BtnTriggerHappy28 = 731
BtnTriggerHappy29 = 732
BtnTriggerHappy30 = 733
BtnTriggerHappy31 = 734
BtnTriggerHappy32 = 735
BtnTriggerHappy33 = 736
BtnTriggerHappy34 = 737
BtnTriggerHappy35 = 738
BtnTriggerHappy36 = 739
BtnTriggerHappy37 = 740
BtnTriggerHappy38 = 741
BtnTriggerHappy39 = 742
BtnTriggerHappy40 = 743
KeyMax = 767
Trait Implementationsยง
Sourceยงimpl TryFromPrimitive for Key
impl TryFromPrimitive for Key
impl Copy for Key
impl Eq for Key
impl StructuralPartialEq for Key
Auto Trait Implementationsยง
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
Blanket Implementationsยง
Sourceยงimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Sourceยงfn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Sourceยงimpl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Sourceยงimpl<T> FmtForward for T
impl<T> FmtForward for T
Sourceยงfn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self
to use its Binary
implementation when Debug
-formatted.Sourceยงfn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self
to use its Display
implementation when
Debug
-formatted.Sourceยงfn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self
to use its LowerExp
implementation when
Debug
-formatted.Sourceยงfn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self
to use its LowerHex
implementation when
Debug
-formatted.Sourceยงfn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self
to use its Octal
implementation when Debug
-formatted.Sourceยงfn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self
to use its Pointer
implementation when
Debug
-formatted.Sourceยงfn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self
to use its UpperExp
implementation when
Debug
-formatted.Sourceยงfn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self
to use its UpperHex
implementation when
Debug
-formatted.Sourceยงimpl<T> Instrument for T
impl<T> Instrument for T
Sourceยงfn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Sourceยงfn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Sourceยงimpl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
type Err = Infallible
fn into_result(self) -> Result<T, <T as IntoResult<T>>::Err>
Sourceยงimpl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Sourceยงfn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
Sourceยงfn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self
and passes that borrow into the pipe function. Read moreSourceยงfn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self
and passes that borrow into the pipe function. Read moreSourceยงfn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Sourceยงfn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Sourceยงfn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self
, then passes self.as_ref()
into the pipe function.Sourceยงfn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self
, then passes self.as_mut()
into the pipe
function.Sourceยงfn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self
, then passes self.deref()
into the pipe function.Sourceยงimpl<T> Tap for T
impl<T> Tap for T
Sourceยงfn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B>
of a value. Read moreSourceยงfn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B>
of a value. Read moreSourceยงfn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R>
view of a value. Read moreSourceยงfn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R>
view of a value. Read moreSourceยงfn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target
of a value. Read moreSourceยงfn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target
of a value. Read moreSourceยงfn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap()
only in debug builds, and is erased in release builds.Sourceยงfn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut()
only in debug builds, and is erased in release
builds.Sourceยงfn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow()
only in debug builds, and is erased in release
builds.Sourceยงfn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.Sourceยงfn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref()
only in debug builds, and is erased in release
builds.Sourceยงfn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut()
only in debug builds, and is erased in release
builds.Sourceยงfn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref()
only in debug builds, and is erased in release
builds.