Key

Enum Key 

Source
#[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 Clone for Key

Source§

fn clone(&self) -> Key

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Key

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for Key

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FromStr for Key

Source§

type Err = ParseError

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for Key

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for Key

Source§

fn eq(&self, other: &Key) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<u16> for Key

Source§

type Error = TryFromPrimitiveError<Key>

The type returned in the event of a conversion error.
Source§

fn try_from(number: u16) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for Key

Source§

impl Copy for Key

Source§

impl Eq for Key

Source§

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> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> Conv for T

Source§

fn conv<T>(self) -> T
where Self: Into<T>,

Converts self into T using Into<T>. Read more
Source§

impl<T> FmtForward for T

Source§

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,

Causes self to use its Display implementation when Debug-formatted.
Source§

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,

Causes self to use its LowerHex implementation when Debug-formatted.
Source§

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,

Causes self to use its Pointer implementation when Debug-formatted.
Source§

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,

Causes self to use its UpperHex implementation when Debug-formatted.
Source§

fn fmt_list(self) -> FmtList<Self>
where &'a Self: for<'a> IntoIterator,

Formats each item in a sequence. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoResult<T> for T

Source§

impl<T> Pipe for T
where T: ?Sized,

Source§

fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> R
where 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) -> R
where R: 'a,

Borrows self and passes that borrow into the pipe function. Read more
Source§

fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> R
where R: 'a,

Mutably borrows self and passes that borrow into the pipe function. Read more
Source§

fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
where Self: Borrow<B>, B: 'a + ?Sized, R: 'a,

Borrows self, then passes self.borrow() into the pipe function. Read more
Source§

fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
where Self: BorrowMut<B>, B: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.borrow_mut() into the pipe function. Read more
Source§

fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
where Self: AsRef<U>, U: 'a + ?Sized, R: 'a,

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
where Self: AsMut<U>, U: 'a + ?Sized, R: 'a,

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
where Self: Deref<Target = T>, T: 'a + ?Sized, R: 'a,

Borrows self, then passes self.deref() into the pipe function.
Source§

fn pipe_deref_mut<'a, T, R>( &'a mut self, func: impl FnOnce(&'a mut T) -> R, ) -> R
where Self: DerefMut<Target = T> + Deref, T: 'a + ?Sized, R: 'a,

Mutably borrows self, then passes self.deref_mut() into the pipe function.
Source§

impl<T> Tap for T

Source§

fn tap(self, func: impl FnOnce(&Self)) -> Self

Immutable access to a value. Read more
Source§

fn tap_mut(self, func: impl FnOnce(&mut Self)) -> Self

Mutable access to a value. Read more
Source§

fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
where Self: Borrow<B>, B: ?Sized,

Immutable access to the Borrow<B> of a value. Read more
Source§

fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
where Self: BorrowMut<B>, B: ?Sized,

Mutable access to the BorrowMut<B> of a value. Read more
Source§

fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
where Self: AsRef<R>, R: ?Sized,

Immutable access to the AsRef<R> view of a value. Read more
Source§

fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
where Self: AsMut<R>, R: ?Sized,

Mutable access to the AsMut<R> view of a value. Read more
Source§

fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
where Self: Deref<Target = T>, T: ?Sized,

Immutable access to the Deref::Target of a value. Read more
Source§

fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Mutable access to the Deref::Target of a value. Read more
Source§

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

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
where Self: Borrow<B>, B: ?Sized,

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
where Self: BorrowMut<B>, B: ?Sized,

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
where Self: AsRef<R>, R: ?Sized,

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
where Self: AsMut<R>, R: ?Sized,

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
where Self: Deref<Target = T>, T: ?Sized,

Calls .tap_deref() only in debug builds, and is erased in release builds.
Source§

fn tap_deref_mut_dbg<T>(self, func: impl FnOnce(&mut T)) -> Self
where Self: DerefMut<Target = T> + Deref, T: ?Sized,

Calls .tap_deref_mut() only in debug builds, and is erased in release builds.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T> TryConv for T

Source§

fn try_conv<T>(self) -> Result<T, Self::Error>
where Self: TryInto<T>,

Attempts to convert self into T using TryInto<T>. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more