pub enum EV_KEY {
Show 614 variants
KEY_RESERVED = 0,
KEY_ESC = 1,
KEY_1 = 2,
KEY_2 = 3,
KEY_3 = 4,
KEY_4 = 5,
KEY_5 = 6,
KEY_6 = 7,
KEY_7 = 8,
KEY_8 = 9,
KEY_9 = 10,
KEY_0 = 11,
KEY_MINUS = 12,
KEY_EQUAL = 13,
KEY_BACKSPACE = 14,
KEY_TAB = 15,
KEY_Q = 16,
KEY_W = 17,
KEY_E = 18,
KEY_R = 19,
KEY_T = 20,
KEY_Y = 21,
KEY_U = 22,
KEY_I = 23,
KEY_O = 24,
KEY_P = 25,
KEY_LEFTBRACE = 26,
KEY_RIGHTBRACE = 27,
KEY_ENTER = 28,
KEY_LEFTCTRL = 29,
KEY_A = 30,
KEY_S = 31,
KEY_D = 32,
KEY_F = 33,
KEY_G = 34,
KEY_H = 35,
KEY_J = 36,
KEY_K = 37,
KEY_L = 38,
KEY_SEMICOLON = 39,
KEY_APOSTROPHE = 40,
KEY_GRAVE = 41,
KEY_LEFTSHIFT = 42,
KEY_BACKSLASH = 43,
KEY_Z = 44,
KEY_X = 45,
KEY_C = 46,
KEY_V = 47,
KEY_B = 48,
KEY_N = 49,
KEY_M = 50,
KEY_COMMA = 51,
KEY_DOT = 52,
KEY_SLASH = 53,
KEY_RIGHTSHIFT = 54,
KEY_KPASTERISK = 55,
KEY_LEFTALT = 56,
KEY_SPACE = 57,
KEY_CAPSLOCK = 58,
KEY_F1 = 59,
KEY_F2 = 60,
KEY_F3 = 61,
KEY_F4 = 62,
KEY_F5 = 63,
KEY_F6 = 64,
KEY_F7 = 65,
KEY_F8 = 66,
KEY_F9 = 67,
KEY_F10 = 68,
KEY_NUMLOCK = 69,
KEY_SCROLLLOCK = 70,
KEY_KP7 = 71,
KEY_KP8 = 72,
KEY_KP9 = 73,
KEY_KPMINUS = 74,
KEY_KP4 = 75,
KEY_KP5 = 76,
KEY_KP6 = 77,
KEY_KPPLUS = 78,
KEY_KP1 = 79,
KEY_KP2 = 80,
KEY_KP3 = 81,
KEY_KP0 = 82,
KEY_KPDOT = 83,
KEY_ZENKAKUHANKAKU = 85,
KEY_102ND = 86,
KEY_F11 = 87,
KEY_F12 = 88,
KEY_RO = 89,
KEY_KATAKANA = 90,
KEY_HIRAGANA = 91,
KEY_HENKAN = 92,
KEY_KATAKANAHIRAGANA = 93,
KEY_MUHENKAN = 94,
KEY_KPJPCOMMA = 95,
KEY_KPENTER = 96,
KEY_RIGHTCTRL = 97,
KEY_KPSLASH = 98,
KEY_SYSRQ = 99,
KEY_RIGHTALT = 100,
KEY_LINEFEED = 101,
KEY_HOME = 102,
KEY_UP = 103,
KEY_PAGEUP = 104,
KEY_LEFT = 105,
KEY_RIGHT = 106,
KEY_END = 107,
KEY_DOWN = 108,
KEY_PAGEDOWN = 109,
KEY_INSERT = 110,
KEY_DELETE = 111,
KEY_MACRO = 112,
KEY_MUTE = 113,
KEY_VOLUMEDOWN = 114,
KEY_VOLUMEUP = 115,
KEY_POWER = 116,
KEY_KPEQUAL = 117,
KEY_KPPLUSMINUS = 118,
KEY_PAUSE = 119,
KEY_SCALE = 120,
KEY_KPCOMMA = 121,
KEY_HANGEUL = 122,
KEY_HANJA = 123,
KEY_YEN = 124,
KEY_LEFTMETA = 125,
KEY_RIGHTMETA = 126,
KEY_COMPOSE = 127,
KEY_STOP = 128,
KEY_AGAIN = 129,
KEY_PROPS = 130,
KEY_UNDO = 131,
KEY_FRONT = 132,
KEY_COPY = 133,
KEY_OPEN = 134,
KEY_PASTE = 135,
KEY_FIND = 136,
KEY_CUT = 137,
KEY_HELP = 138,
KEY_MENU = 139,
KEY_CALC = 140,
KEY_SETUP = 141,
KEY_SLEEP = 142,
KEY_WAKEUP = 143,
KEY_FILE = 144,
KEY_SENDFILE = 145,
KEY_DELETEFILE = 146,
KEY_XFER = 147,
KEY_PROG1 = 148,
KEY_PROG2 = 149,
KEY_WWW = 150,
KEY_MSDOS = 151,
KEY_COFFEE = 152,
KEY_ROTATE_DISPLAY = 153,
KEY_CYCLEWINDOWS = 154,
KEY_MAIL = 155,
KEY_BOOKMARKS = 156,
KEY_COMPUTER = 157,
KEY_BACK = 158,
KEY_FORWARD = 159,
KEY_CLOSECD = 160,
KEY_EJECTCD = 161,
KEY_EJECTCLOSECD = 162,
KEY_NEXTSONG = 163,
KEY_PLAYPAUSE = 164,
KEY_PREVIOUSSONG = 165,
KEY_STOPCD = 166,
KEY_RECORD = 167,
KEY_REWIND = 168,
KEY_PHONE = 169,
KEY_ISO = 170,
KEY_CONFIG = 171,
KEY_HOMEPAGE = 172,
KEY_REFRESH = 173,
KEY_EXIT = 174,
KEY_MOVE = 175,
KEY_EDIT = 176,
KEY_SCROLLUP = 177,
KEY_SCROLLDOWN = 178,
KEY_KPLEFTPAREN = 179,
KEY_KPRIGHTPAREN = 180,
KEY_NEW = 181,
KEY_REDO = 182,
KEY_F13 = 183,
KEY_F14 = 184,
KEY_F15 = 185,
KEY_F16 = 186,
KEY_F17 = 187,
KEY_F18 = 188,
KEY_F19 = 189,
KEY_F20 = 190,
KEY_F21 = 191,
KEY_F22 = 192,
KEY_F23 = 193,
KEY_F24 = 194,
KEY_PLAYCD = 200,
KEY_PAUSECD = 201,
KEY_PROG3 = 202,
KEY_PROG4 = 203,
KEY_ALL_APPLICATIONS = 204,
KEY_SUSPEND = 205,
KEY_CLOSE = 206,
KEY_PLAY = 207,
KEY_FASTFORWARD = 208,
KEY_BASSBOOST = 209,
KEY_PRINT = 210,
KEY_HP = 211,
KEY_CAMERA = 212,
KEY_SOUND = 213,
KEY_QUESTION = 214,
KEY_EMAIL = 215,
KEY_CHAT = 216,
KEY_SEARCH = 217,
KEY_CONNECT = 218,
KEY_FINANCE = 219,
KEY_SPORT = 220,
KEY_SHOP = 221,
KEY_ALTERASE = 222,
KEY_CANCEL = 223,
KEY_BRIGHTNESSDOWN = 224,
KEY_BRIGHTNESSUP = 225,
KEY_MEDIA = 226,
KEY_SWITCHVIDEOMODE = 227,
KEY_KBDILLUMTOGGLE = 228,
KEY_KBDILLUMDOWN = 229,
KEY_KBDILLUMUP = 230,
KEY_SEND = 231,
KEY_REPLY = 232,
KEY_FORWARDMAIL = 233,
KEY_SAVE = 234,
KEY_DOCUMENTS = 235,
KEY_BATTERY = 236,
KEY_BLUETOOTH = 237,
KEY_WLAN = 238,
KEY_UWB = 239,
KEY_UNKNOWN = 240,
KEY_VIDEO_NEXT = 241,
KEY_VIDEO_PREV = 242,
KEY_BRIGHTNESS_CYCLE = 243,
KEY_BRIGHTNESS_AUTO = 244,
KEY_DISPLAY_OFF = 245,
KEY_WWAN = 246,
KEY_RFKILL = 247,
KEY_MICMUTE = 248,
KEY_OK = 352,
KEY_SELECT = 353,
KEY_GOTO = 354,
KEY_CLEAR = 355,
KEY_POWER2 = 356,
KEY_OPTION = 357,
KEY_INFO = 358,
KEY_TIME = 359,
KEY_VENDOR = 360,
KEY_ARCHIVE = 361,
KEY_PROGRAM = 362,
KEY_CHANNEL = 363,
KEY_FAVORITES = 364,
KEY_EPG = 365,
KEY_PVR = 366,
KEY_MHP = 367,
KEY_LANGUAGE = 368,
KEY_TITLE = 369,
KEY_SUBTITLE = 370,
KEY_ANGLE = 371,
KEY_FULL_SCREEN = 372,
KEY_MODE = 373,
KEY_KEYBOARD = 374,
KEY_ASPECT_RATIO = 375,
KEY_PC = 376,
KEY_TV = 377,
KEY_TV2 = 378,
KEY_VCR = 379,
KEY_VCR2 = 380,
KEY_SAT = 381,
KEY_SAT2 = 382,
KEY_CD = 383,
KEY_TAPE = 384,
KEY_RADIO = 385,
KEY_TUNER = 386,
KEY_PLAYER = 387,
KEY_TEXT = 388,
KEY_DVD = 389,
KEY_AUX = 390,
KEY_MP3 = 391,
KEY_AUDIO = 392,
KEY_VIDEO = 393,
KEY_DIRECTORY = 394,
KEY_LIST = 395,
KEY_MEMO = 396,
KEY_CALENDAR = 397,
KEY_RED = 398,
KEY_GREEN = 399,
KEY_YELLOW = 400,
KEY_BLUE = 401,
KEY_CHANNELUP = 402,
KEY_CHANNELDOWN = 403,
KEY_FIRST = 404,
KEY_LAST = 405,
KEY_AB = 406,
KEY_NEXT = 407,
KEY_RESTART = 408,
KEY_SLOW = 409,
KEY_SHUFFLE = 410,
KEY_BREAK = 411,
KEY_PREVIOUS = 412,
KEY_DIGITS = 413,
KEY_TEEN = 414,
KEY_TWEN = 415,
KEY_VIDEOPHONE = 416,
KEY_GAMES = 417,
KEY_ZOOMIN = 418,
KEY_ZOOMOUT = 419,
KEY_ZOOMRESET = 420,
KEY_WORDPROCESSOR = 421,
KEY_EDITOR = 422,
KEY_SPREADSHEET = 423,
KEY_GRAPHICSEDITOR = 424,
KEY_PRESENTATION = 425,
KEY_DATABASE = 426,
KEY_NEWS = 427,
KEY_VOICEMAIL = 428,
KEY_ADDRESSBOOK = 429,
KEY_MESSENGER = 430,
KEY_DISPLAYTOGGLE = 431,
KEY_SPELLCHECK = 432,
KEY_LOGOFF = 433,
KEY_DOLLAR = 434,
KEY_EURO = 435,
KEY_FRAMEBACK = 436,
KEY_FRAMEFORWARD = 437,
KEY_CONTEXT_MENU = 438,
KEY_MEDIA_REPEAT = 439,
KEY_10CHANNELSUP = 440,
KEY_10CHANNELSDOWN = 441,
KEY_IMAGES = 442,
KEY_NOTIFICATION_CENTER = 444,
KEY_PICKUP_PHONE = 445,
KEY_HANGUP_PHONE = 446,
KEY_DEL_EOL = 448,
KEY_DEL_EOS = 449,
KEY_INS_LINE = 450,
KEY_DEL_LINE = 451,
KEY_FN = 464,
KEY_FN_ESC = 465,
KEY_FN_F1 = 466,
KEY_FN_F2 = 467,
KEY_FN_F3 = 468,
KEY_FN_F4 = 469,
KEY_FN_F5 = 470,
KEY_FN_F6 = 471,
KEY_FN_F7 = 472,
KEY_FN_F8 = 473,
KEY_FN_F9 = 474,
KEY_FN_F10 = 475,
KEY_FN_F11 = 476,
KEY_FN_F12 = 477,
KEY_FN_1 = 478,
KEY_FN_2 = 479,
KEY_FN_D = 480,
KEY_FN_E = 481,
KEY_FN_F = 482,
KEY_FN_S = 483,
KEY_FN_B = 484,
KEY_FN_RIGHT_SHIFT = 485,
KEY_BRL_DOT1 = 497,
KEY_BRL_DOT2 = 498,
KEY_BRL_DOT3 = 499,
KEY_BRL_DOT4 = 500,
KEY_BRL_DOT5 = 501,
KEY_BRL_DOT6 = 502,
KEY_BRL_DOT7 = 503,
KEY_BRL_DOT8 = 504,
KEY_BRL_DOT9 = 505,
KEY_BRL_DOT10 = 506,
KEY_NUMERIC_0 = 512,
KEY_NUMERIC_1 = 513,
KEY_NUMERIC_2 = 514,
KEY_NUMERIC_3 = 515,
KEY_NUMERIC_4 = 516,
KEY_NUMERIC_5 = 517,
KEY_NUMERIC_6 = 518,
KEY_NUMERIC_7 = 519,
KEY_NUMERIC_8 = 520,
KEY_NUMERIC_9 = 521,
KEY_NUMERIC_STAR = 522,
KEY_NUMERIC_POUND = 523,
KEY_NUMERIC_A = 524,
KEY_NUMERIC_B = 525,
KEY_NUMERIC_C = 526,
KEY_NUMERIC_D = 527,
KEY_CAMERA_FOCUS = 528,
KEY_WPS_BUTTON = 529,
KEY_TOUCHPAD_TOGGLE = 530,
KEY_TOUCHPAD_ON = 531,
KEY_TOUCHPAD_OFF = 532,
KEY_CAMERA_ZOOMIN = 533,
KEY_CAMERA_ZOOMOUT = 534,
KEY_CAMERA_UP = 535,
KEY_CAMERA_DOWN = 536,
KEY_CAMERA_LEFT = 537,
KEY_CAMERA_RIGHT = 538,
KEY_ATTENDANT_ON = 539,
KEY_ATTENDANT_OFF = 540,
KEY_ATTENDANT_TOGGLE = 541,
KEY_LIGHTS_TOGGLE = 542,
KEY_ALS_TOGGLE = 560,
KEY_ROTATE_LOCK_TOGGLE = 561,
KEY_BUTTONCONFIG = 576,
KEY_TASKMANAGER = 577,
KEY_JOURNAL = 578,
KEY_CONTROLPANEL = 579,
KEY_APPSELECT = 580,
KEY_SCREENSAVER = 581,
KEY_VOICECOMMAND = 582,
KEY_ASSISTANT = 583,
KEY_KBD_LAYOUT_NEXT = 584,
KEY_EMOJI_PICKER = 585,
KEY_DICTATE = 586,
KEY_CAMERA_ACCESS_ENABLE = 587,
KEY_CAMERA_ACCESS_DISABLE = 588,
KEY_CAMERA_ACCESS_TOGGLE = 589,
KEY_BRIGHTNESS_MIN = 592,
KEY_BRIGHTNESS_MAX = 593,
KEY_KBDINPUTASSIST_PREV = 608,
KEY_KBDINPUTASSIST_NEXT = 609,
KEY_KBDINPUTASSIST_PREVGROUP = 610,
KEY_KBDINPUTASSIST_NEXTGROUP = 611,
KEY_KBDINPUTASSIST_ACCEPT = 612,
KEY_KBDINPUTASSIST_CANCEL = 613,
KEY_RIGHT_UP = 614,
KEY_RIGHT_DOWN = 615,
KEY_LEFT_UP = 616,
KEY_LEFT_DOWN = 617,
KEY_ROOT_MENU = 618,
KEY_MEDIA_TOP_MENU = 619,
KEY_NUMERIC_11 = 620,
KEY_NUMERIC_12 = 621,
KEY_AUDIO_DESC = 622,
KEY_3D_MODE = 623,
KEY_NEXT_FAVORITE = 624,
KEY_STOP_RECORD = 625,
KEY_PAUSE_RECORD = 626,
KEY_VOD = 627,
KEY_UNMUTE = 628,
KEY_FASTREVERSE = 629,
KEY_SLOWREVERSE = 630,
KEY_DATA = 631,
KEY_ONSCREEN_KEYBOARD = 632,
KEY_PRIVACY_SCREEN_TOGGLE = 633,
KEY_SELECTIVE_SCREENSHOT = 634,
KEY_NEXT_ELEMENT = 635,
KEY_PREVIOUS_ELEMENT = 636,
KEY_AUTOPILOT_ENGAGE_TOGGLE = 637,
KEY_MARK_WAYPOINT = 638,
KEY_SOS = 639,
KEY_NAV_CHART = 640,
KEY_FISHING_CHART = 641,
KEY_SINGLE_RANGE_RADAR = 642,
KEY_DUAL_RANGE_RADAR = 643,
KEY_RADAR_OVERLAY = 644,
KEY_TRADITIONAL_SONAR = 645,
KEY_CLEARVU_SONAR = 646,
KEY_SIDEVU_SONAR = 647,
KEY_NAV_INFO = 648,
KEY_BRIGHTNESS_MENU = 649,
KEY_MACRO1 = 656,
KEY_MACRO2 = 657,
KEY_MACRO3 = 658,
KEY_MACRO4 = 659,
KEY_MACRO5 = 660,
KEY_MACRO6 = 661,
KEY_MACRO7 = 662,
KEY_MACRO8 = 663,
KEY_MACRO9 = 664,
KEY_MACRO10 = 665,
KEY_MACRO11 = 666,
KEY_MACRO12 = 667,
KEY_MACRO13 = 668,
KEY_MACRO14 = 669,
KEY_MACRO15 = 670,
KEY_MACRO16 = 671,
KEY_MACRO17 = 672,
KEY_MACRO18 = 673,
KEY_MACRO19 = 674,
KEY_MACRO20 = 675,
KEY_MACRO21 = 676,
KEY_MACRO22 = 677,
KEY_MACRO23 = 678,
KEY_MACRO24 = 679,
KEY_MACRO25 = 680,
KEY_MACRO26 = 681,
KEY_MACRO27 = 682,
KEY_MACRO28 = 683,
KEY_MACRO29 = 684,
KEY_MACRO30 = 685,
KEY_MACRO_RECORD_START = 688,
KEY_MACRO_RECORD_STOP = 689,
KEY_MACRO_PRESET_CYCLE = 690,
KEY_MACRO_PRESET1 = 691,
KEY_MACRO_PRESET2 = 692,
KEY_MACRO_PRESET3 = 693,
KEY_KBD_LCD_MENU1 = 696,
KEY_KBD_LCD_MENU2 = 697,
KEY_KBD_LCD_MENU3 = 698,
KEY_KBD_LCD_MENU4 = 699,
KEY_KBD_LCD_MENU5 = 700,
KEY_MAX = 767,
BTN_0 = 256,
BTN_1 = 257,
BTN_2 = 258,
BTN_3 = 259,
BTN_4 = 260,
BTN_5 = 261,
BTN_6 = 262,
BTN_7 = 263,
BTN_8 = 264,
BTN_9 = 265,
BTN_LEFT = 272,
BTN_RIGHT = 273,
BTN_MIDDLE = 274,
BTN_SIDE = 275,
BTN_EXTRA = 276,
BTN_FORWARD = 277,
BTN_BACK = 278,
BTN_TASK = 279,
BTN_TRIGGER = 288,
BTN_THUMB = 289,
BTN_THUMB2 = 290,
BTN_TOP = 291,
BTN_TOP2 = 292,
BTN_PINKIE = 293,
BTN_BASE = 294,
BTN_BASE2 = 295,
BTN_BASE3 = 296,
BTN_BASE4 = 297,
BTN_BASE5 = 298,
BTN_BASE6 = 299,
BTN_DEAD = 303,
BTN_SOUTH = 304,
BTN_EAST = 305,
BTN_C = 306,
BTN_NORTH = 307,
BTN_WEST = 308,
BTN_Z = 309,
BTN_TL = 310,
BTN_TR = 311,
BTN_TL2 = 312,
BTN_TR2 = 313,
BTN_SELECT = 314,
BTN_START = 315,
BTN_MODE = 316,
BTN_THUMBL = 317,
BTN_THUMBR = 318,
BTN_TOOL_PEN = 320,
BTN_TOOL_RUBBER = 321,
BTN_TOOL_BRUSH = 322,
BTN_TOOL_PENCIL = 323,
BTN_TOOL_AIRBRUSH = 324,
BTN_TOOL_FINGER = 325,
BTN_TOOL_MOUSE = 326,
BTN_TOOL_LENS = 327,
BTN_TOOL_QUINTTAP = 328,
BTN_STYLUS3 = 329,
BTN_TOUCH = 330,
BTN_STYLUS = 331,
BTN_STYLUS2 = 332,
BTN_TOOL_DOUBLETAP = 333,
BTN_TOOL_TRIPLETAP = 334,
BTN_TOOL_QUADTAP = 335,
BTN_GEAR_DOWN = 336,
BTN_GEAR_UP = 337,
BTN_DPAD_UP = 544,
BTN_DPAD_DOWN = 545,
BTN_DPAD_LEFT = 546,
BTN_DPAD_RIGHT = 547,
BTN_TRIGGER_HAPPY1 = 704,
BTN_TRIGGER_HAPPY2 = 705,
BTN_TRIGGER_HAPPY3 = 706,
BTN_TRIGGER_HAPPY4 = 707,
BTN_TRIGGER_HAPPY5 = 708,
BTN_TRIGGER_HAPPY6 = 709,
BTN_TRIGGER_HAPPY7 = 710,
BTN_TRIGGER_HAPPY8 = 711,
BTN_TRIGGER_HAPPY9 = 712,
BTN_TRIGGER_HAPPY10 = 713,
BTN_TRIGGER_HAPPY11 = 714,
BTN_TRIGGER_HAPPY12 = 715,
BTN_TRIGGER_HAPPY13 = 716,
BTN_TRIGGER_HAPPY14 = 717,
BTN_TRIGGER_HAPPY15 = 718,
BTN_TRIGGER_HAPPY16 = 719,
BTN_TRIGGER_HAPPY17 = 720,
BTN_TRIGGER_HAPPY18 = 721,
BTN_TRIGGER_HAPPY19 = 722,
BTN_TRIGGER_HAPPY20 = 723,
BTN_TRIGGER_HAPPY21 = 724,
BTN_TRIGGER_HAPPY22 = 725,
BTN_TRIGGER_HAPPY23 = 726,
BTN_TRIGGER_HAPPY24 = 727,
BTN_TRIGGER_HAPPY25 = 728,
BTN_TRIGGER_HAPPY26 = 729,
BTN_TRIGGER_HAPPY27 = 730,
BTN_TRIGGER_HAPPY28 = 731,
BTN_TRIGGER_HAPPY29 = 732,
BTN_TRIGGER_HAPPY30 = 733,
BTN_TRIGGER_HAPPY31 = 734,
BTN_TRIGGER_HAPPY32 = 735,
BTN_TRIGGER_HAPPY33 = 736,
BTN_TRIGGER_HAPPY34 = 737,
BTN_TRIGGER_HAPPY35 = 738,
BTN_TRIGGER_HAPPY36 = 739,
BTN_TRIGGER_HAPPY37 = 740,
BTN_TRIGGER_HAPPY38 = 741,
BTN_TRIGGER_HAPPY39 = 742,
BTN_TRIGGER_HAPPY40 = 743,
}
Variants§
KEY_RESERVED = 0
KEY_ESC = 1
KEY_1 = 2
KEY_2 = 3
KEY_3 = 4
KEY_4 = 5
KEY_5 = 6
KEY_6 = 7
KEY_7 = 8
KEY_8 = 9
KEY_9 = 10
KEY_0 = 11
KEY_MINUS = 12
KEY_EQUAL = 13
KEY_BACKSPACE = 14
KEY_TAB = 15
KEY_Q = 16
KEY_W = 17
KEY_E = 18
KEY_R = 19
KEY_T = 20
KEY_Y = 21
KEY_U = 22
KEY_I = 23
KEY_O = 24
KEY_P = 25
KEY_LEFTBRACE = 26
KEY_RIGHTBRACE = 27
KEY_ENTER = 28
KEY_LEFTCTRL = 29
KEY_A = 30
KEY_S = 31
KEY_D = 32
KEY_F = 33
KEY_G = 34
KEY_H = 35
KEY_J = 36
KEY_K = 37
KEY_L = 38
KEY_SEMICOLON = 39
KEY_APOSTROPHE = 40
KEY_GRAVE = 41
KEY_LEFTSHIFT = 42
KEY_BACKSLASH = 43
KEY_Z = 44
KEY_X = 45
KEY_C = 46
KEY_V = 47
KEY_B = 48
KEY_N = 49
KEY_M = 50
KEY_COMMA = 51
KEY_DOT = 52
KEY_SLASH = 53
KEY_RIGHTSHIFT = 54
KEY_KPASTERISK = 55
KEY_LEFTALT = 56
KEY_SPACE = 57
KEY_CAPSLOCK = 58
KEY_F1 = 59
KEY_F2 = 60
KEY_F3 = 61
KEY_F4 = 62
KEY_F5 = 63
KEY_F6 = 64
KEY_F7 = 65
KEY_F8 = 66
KEY_F9 = 67
KEY_F10 = 68
KEY_NUMLOCK = 69
KEY_SCROLLLOCK = 70
KEY_KP7 = 71
KEY_KP8 = 72
KEY_KP9 = 73
KEY_KPMINUS = 74
KEY_KP4 = 75
KEY_KP5 = 76
KEY_KP6 = 77
KEY_KPPLUS = 78
KEY_KP1 = 79
KEY_KP2 = 80
KEY_KP3 = 81
KEY_KP0 = 82
KEY_KPDOT = 83
KEY_ZENKAKUHANKAKU = 85
KEY_102ND = 86
KEY_F11 = 87
KEY_F12 = 88
KEY_RO = 89
KEY_KATAKANA = 90
KEY_HIRAGANA = 91
KEY_HENKAN = 92
KEY_KATAKANAHIRAGANA = 93
KEY_MUHENKAN = 94
KEY_KPJPCOMMA = 95
KEY_KPENTER = 96
KEY_RIGHTCTRL = 97
KEY_KPSLASH = 98
KEY_SYSRQ = 99
KEY_RIGHTALT = 100
KEY_LINEFEED = 101
KEY_HOME = 102
KEY_UP = 103
KEY_PAGEUP = 104
KEY_LEFT = 105
KEY_RIGHT = 106
KEY_END = 107
KEY_DOWN = 108
KEY_PAGEDOWN = 109
KEY_INSERT = 110
KEY_DELETE = 111
KEY_MACRO = 112
KEY_MUTE = 113
KEY_VOLUMEDOWN = 114
KEY_VOLUMEUP = 115
KEY_POWER = 116
KEY_KPEQUAL = 117
KEY_KPPLUSMINUS = 118
KEY_PAUSE = 119
KEY_SCALE = 120
KEY_KPCOMMA = 121
KEY_HANGEUL = 122
KEY_HANJA = 123
KEY_YEN = 124
KEY_LEFTMETA = 125
KEY_RIGHTMETA = 126
KEY_COMPOSE = 127
KEY_STOP = 128
KEY_AGAIN = 129
KEY_PROPS = 130
KEY_UNDO = 131
KEY_FRONT = 132
KEY_COPY = 133
KEY_OPEN = 134
KEY_PASTE = 135
KEY_FIND = 136
KEY_CUT = 137
KEY_HELP = 138
KEY_MENU = 139
KEY_CALC = 140
KEY_SETUP = 141
KEY_SLEEP = 142
KEY_WAKEUP = 143
KEY_FILE = 144
KEY_SENDFILE = 145
KEY_DELETEFILE = 146
KEY_XFER = 147
KEY_PROG1 = 148
KEY_PROG2 = 149
KEY_WWW = 150
KEY_MSDOS = 151
KEY_COFFEE = 152
KEY_ROTATE_DISPLAY = 153
KEY_CYCLEWINDOWS = 154
KEY_MAIL = 155
KEY_BOOKMARKS = 156
KEY_COMPUTER = 157
KEY_BACK = 158
KEY_FORWARD = 159
KEY_CLOSECD = 160
KEY_EJECTCD = 161
KEY_EJECTCLOSECD = 162
KEY_NEXTSONG = 163
KEY_PLAYPAUSE = 164
KEY_PREVIOUSSONG = 165
KEY_STOPCD = 166
KEY_RECORD = 167
KEY_REWIND = 168
KEY_PHONE = 169
KEY_ISO = 170
KEY_CONFIG = 171
KEY_HOMEPAGE = 172
KEY_REFRESH = 173
KEY_EXIT = 174
KEY_MOVE = 175
KEY_EDIT = 176
KEY_SCROLLUP = 177
KEY_SCROLLDOWN = 178
KEY_KPLEFTPAREN = 179
KEY_KPRIGHTPAREN = 180
KEY_NEW = 181
KEY_REDO = 182
KEY_F13 = 183
KEY_F14 = 184
KEY_F15 = 185
KEY_F16 = 186
KEY_F17 = 187
KEY_F18 = 188
KEY_F19 = 189
KEY_F20 = 190
KEY_F21 = 191
KEY_F22 = 192
KEY_F23 = 193
KEY_F24 = 194
KEY_PLAYCD = 200
KEY_PAUSECD = 201
KEY_PROG3 = 202
KEY_PROG4 = 203
KEY_ALL_APPLICATIONS = 204
KEY_SUSPEND = 205
KEY_CLOSE = 206
KEY_PLAY = 207
KEY_FASTFORWARD = 208
KEY_BASSBOOST = 209
KEY_PRINT = 210
KEY_HP = 211
KEY_CAMERA = 212
KEY_SOUND = 213
KEY_QUESTION = 214
KEY_EMAIL = 215
KEY_CHAT = 216
KEY_SEARCH = 217
KEY_CONNECT = 218
KEY_FINANCE = 219
KEY_SPORT = 220
KEY_SHOP = 221
KEY_ALTERASE = 222
KEY_CANCEL = 223
KEY_BRIGHTNESSDOWN = 224
KEY_BRIGHTNESSUP = 225
KEY_MEDIA = 226
KEY_SWITCHVIDEOMODE = 227
KEY_KBDILLUMTOGGLE = 228
KEY_KBDILLUMDOWN = 229
KEY_KBDILLUMUP = 230
KEY_SEND = 231
KEY_REPLY = 232
KEY_FORWARDMAIL = 233
KEY_SAVE = 234
KEY_DOCUMENTS = 235
KEY_BATTERY = 236
KEY_BLUETOOTH = 237
KEY_WLAN = 238
KEY_UWB = 239
KEY_UNKNOWN = 240
KEY_VIDEO_NEXT = 241
KEY_VIDEO_PREV = 242
KEY_BRIGHTNESS_CYCLE = 243
KEY_BRIGHTNESS_AUTO = 244
KEY_DISPLAY_OFF = 245
KEY_WWAN = 246
KEY_RFKILL = 247
KEY_MICMUTE = 248
KEY_OK = 352
KEY_SELECT = 353
KEY_GOTO = 354
KEY_CLEAR = 355
KEY_POWER2 = 356
KEY_OPTION = 357
KEY_INFO = 358
KEY_TIME = 359
KEY_VENDOR = 360
KEY_ARCHIVE = 361
KEY_PROGRAM = 362
KEY_CHANNEL = 363
KEY_FAVORITES = 364
KEY_EPG = 365
KEY_PVR = 366
KEY_MHP = 367
KEY_LANGUAGE = 368
KEY_TITLE = 369
KEY_SUBTITLE = 370
KEY_ANGLE = 371
KEY_FULL_SCREEN = 372
KEY_MODE = 373
KEY_KEYBOARD = 374
KEY_ASPECT_RATIO = 375
KEY_PC = 376
KEY_TV = 377
KEY_TV2 = 378
KEY_VCR = 379
KEY_VCR2 = 380
KEY_SAT = 381
KEY_SAT2 = 382
KEY_CD = 383
KEY_TAPE = 384
KEY_RADIO = 385
KEY_TUNER = 386
KEY_PLAYER = 387
KEY_TEXT = 388
KEY_DVD = 389
KEY_AUX = 390
KEY_MP3 = 391
KEY_AUDIO = 392
KEY_VIDEO = 393
KEY_DIRECTORY = 394
KEY_LIST = 395
KEY_MEMO = 396
KEY_CALENDAR = 397
KEY_RED = 398
KEY_GREEN = 399
KEY_YELLOW = 400
KEY_BLUE = 401
KEY_CHANNELUP = 402
KEY_CHANNELDOWN = 403
KEY_FIRST = 404
KEY_LAST = 405
KEY_AB = 406
KEY_NEXT = 407
KEY_RESTART = 408
KEY_SLOW = 409
KEY_SHUFFLE = 410
KEY_BREAK = 411
KEY_PREVIOUS = 412
KEY_DIGITS = 413
KEY_TEEN = 414
KEY_TWEN = 415
KEY_VIDEOPHONE = 416
KEY_GAMES = 417
KEY_ZOOMIN = 418
KEY_ZOOMOUT = 419
KEY_ZOOMRESET = 420
KEY_WORDPROCESSOR = 421
KEY_EDITOR = 422
KEY_SPREADSHEET = 423
KEY_GRAPHICSEDITOR = 424
KEY_PRESENTATION = 425
KEY_DATABASE = 426
KEY_NEWS = 427
KEY_VOICEMAIL = 428
KEY_ADDRESSBOOK = 429
KEY_MESSENGER = 430
KEY_DISPLAYTOGGLE = 431
KEY_SPELLCHECK = 432
KEY_LOGOFF = 433
KEY_DOLLAR = 434
KEY_EURO = 435
KEY_FRAMEBACK = 436
KEY_FRAMEFORWARD = 437
KEY_CONTEXT_MENU = 438
KEY_MEDIA_REPEAT = 439
KEY_10CHANNELSUP = 440
KEY_10CHANNELSDOWN = 441
KEY_IMAGES = 442
KEY_NOTIFICATION_CENTER = 444
KEY_PICKUP_PHONE = 445
KEY_HANGUP_PHONE = 446
KEY_DEL_EOL = 448
KEY_DEL_EOS = 449
KEY_INS_LINE = 450
KEY_DEL_LINE = 451
KEY_FN = 464
KEY_FN_ESC = 465
KEY_FN_F1 = 466
KEY_FN_F2 = 467
KEY_FN_F3 = 468
KEY_FN_F4 = 469
KEY_FN_F5 = 470
KEY_FN_F6 = 471
KEY_FN_F7 = 472
KEY_FN_F8 = 473
KEY_FN_F9 = 474
KEY_FN_F10 = 475
KEY_FN_F11 = 476
KEY_FN_F12 = 477
KEY_FN_1 = 478
KEY_FN_2 = 479
KEY_FN_D = 480
KEY_FN_E = 481
KEY_FN_F = 482
KEY_FN_S = 483
KEY_FN_B = 484
KEY_FN_RIGHT_SHIFT = 485
KEY_BRL_DOT1 = 497
KEY_BRL_DOT2 = 498
KEY_BRL_DOT3 = 499
KEY_BRL_DOT4 = 500
KEY_BRL_DOT5 = 501
KEY_BRL_DOT6 = 502
KEY_BRL_DOT7 = 503
KEY_BRL_DOT8 = 504
KEY_BRL_DOT9 = 505
KEY_BRL_DOT10 = 506
KEY_NUMERIC_0 = 512
KEY_NUMERIC_1 = 513
KEY_NUMERIC_2 = 514
KEY_NUMERIC_3 = 515
KEY_NUMERIC_4 = 516
KEY_NUMERIC_5 = 517
KEY_NUMERIC_6 = 518
KEY_NUMERIC_7 = 519
KEY_NUMERIC_8 = 520
KEY_NUMERIC_9 = 521
KEY_NUMERIC_STAR = 522
KEY_NUMERIC_POUND = 523
KEY_NUMERIC_A = 524
KEY_NUMERIC_B = 525
KEY_NUMERIC_C = 526
KEY_NUMERIC_D = 527
KEY_CAMERA_FOCUS = 528
KEY_WPS_BUTTON = 529
KEY_TOUCHPAD_TOGGLE = 530
KEY_TOUCHPAD_ON = 531
KEY_TOUCHPAD_OFF = 532
KEY_CAMERA_ZOOMIN = 533
KEY_CAMERA_ZOOMOUT = 534
KEY_CAMERA_UP = 535
KEY_CAMERA_DOWN = 536
KEY_CAMERA_LEFT = 537
KEY_CAMERA_RIGHT = 538
KEY_ATTENDANT_ON = 539
KEY_ATTENDANT_OFF = 540
KEY_ATTENDANT_TOGGLE = 541
KEY_LIGHTS_TOGGLE = 542
KEY_ALS_TOGGLE = 560
KEY_ROTATE_LOCK_TOGGLE = 561
KEY_BUTTONCONFIG = 576
KEY_TASKMANAGER = 577
KEY_JOURNAL = 578
KEY_CONTROLPANEL = 579
KEY_APPSELECT = 580
KEY_SCREENSAVER = 581
KEY_VOICECOMMAND = 582
KEY_ASSISTANT = 583
KEY_KBD_LAYOUT_NEXT = 584
KEY_EMOJI_PICKER = 585
KEY_DICTATE = 586
KEY_CAMERA_ACCESS_ENABLE = 587
KEY_CAMERA_ACCESS_DISABLE = 588
KEY_CAMERA_ACCESS_TOGGLE = 589
KEY_BRIGHTNESS_MIN = 592
KEY_BRIGHTNESS_MAX = 593
KEY_KBDINPUTASSIST_PREV = 608
KEY_KBDINPUTASSIST_NEXT = 609
KEY_KBDINPUTASSIST_PREVGROUP = 610
KEY_KBDINPUTASSIST_NEXTGROUP = 611
KEY_KBDINPUTASSIST_ACCEPT = 612
KEY_KBDINPUTASSIST_CANCEL = 613
KEY_RIGHT_UP = 614
KEY_RIGHT_DOWN = 615
KEY_LEFT_UP = 616
KEY_LEFT_DOWN = 617
KEY_ROOT_MENU = 618
KEY_MEDIA_TOP_MENU = 619
KEY_NUMERIC_11 = 620
KEY_NUMERIC_12 = 621
KEY_AUDIO_DESC = 622
KEY_3D_MODE = 623
KEY_NEXT_FAVORITE = 624
KEY_STOP_RECORD = 625
KEY_PAUSE_RECORD = 626
KEY_VOD = 627
KEY_UNMUTE = 628
KEY_FASTREVERSE = 629
KEY_SLOWREVERSE = 630
KEY_DATA = 631
KEY_ONSCREEN_KEYBOARD = 632
KEY_PRIVACY_SCREEN_TOGGLE = 633
KEY_SELECTIVE_SCREENSHOT = 634
KEY_NEXT_ELEMENT = 635
KEY_PREVIOUS_ELEMENT = 636
KEY_AUTOPILOT_ENGAGE_TOGGLE = 637
KEY_MARK_WAYPOINT = 638
KEY_SOS = 639
KEY_NAV_CHART = 640
KEY_FISHING_CHART = 641
KEY_SINGLE_RANGE_RADAR = 642
KEY_DUAL_RANGE_RADAR = 643
KEY_RADAR_OVERLAY = 644
KEY_TRADITIONAL_SONAR = 645
KEY_CLEARVU_SONAR = 646
KEY_SIDEVU_SONAR = 647
KEY_NAV_INFO = 648
KEY_BRIGHTNESS_MENU = 649
KEY_MACRO1 = 656
KEY_MACRO2 = 657
KEY_MACRO3 = 658
KEY_MACRO4 = 659
KEY_MACRO5 = 660
KEY_MACRO6 = 661
KEY_MACRO7 = 662
KEY_MACRO8 = 663
KEY_MACRO9 = 664
KEY_MACRO10 = 665
KEY_MACRO11 = 666
KEY_MACRO12 = 667
KEY_MACRO13 = 668
KEY_MACRO14 = 669
KEY_MACRO15 = 670
KEY_MACRO16 = 671
KEY_MACRO17 = 672
KEY_MACRO18 = 673
KEY_MACRO19 = 674
KEY_MACRO20 = 675
KEY_MACRO21 = 676
KEY_MACRO22 = 677
KEY_MACRO23 = 678
KEY_MACRO24 = 679
KEY_MACRO25 = 680
KEY_MACRO26 = 681
KEY_MACRO27 = 682
KEY_MACRO28 = 683
KEY_MACRO29 = 684
KEY_MACRO30 = 685
KEY_MACRO_RECORD_START = 688
KEY_MACRO_RECORD_STOP = 689
KEY_MACRO_PRESET_CYCLE = 690
KEY_MACRO_PRESET1 = 691
KEY_MACRO_PRESET2 = 692
KEY_MACRO_PRESET3 = 693
KEY_KBD_LCD_MENU1 = 696
KEY_KBD_LCD_MENU2 = 697
KEY_KBD_LCD_MENU3 = 698
KEY_KBD_LCD_MENU4 = 699
KEY_KBD_LCD_MENU5 = 700
KEY_MAX = 767
BTN_0 = 256
BTN_1 = 257
BTN_2 = 258
BTN_3 = 259
BTN_4 = 260
BTN_5 = 261
BTN_6 = 262
BTN_7 = 263
BTN_8 = 264
BTN_9 = 265
BTN_LEFT = 272
BTN_RIGHT = 273
BTN_MIDDLE = 274
BTN_SIDE = 275
BTN_EXTRA = 276
BTN_FORWARD = 277
BTN_BACK = 278
BTN_TASK = 279
BTN_TRIGGER = 288
BTN_THUMB = 289
BTN_THUMB2 = 290
BTN_TOP = 291
BTN_TOP2 = 292
BTN_PINKIE = 293
BTN_BASE = 294
BTN_BASE2 = 295
BTN_BASE3 = 296
BTN_BASE4 = 297
BTN_BASE5 = 298
BTN_BASE6 = 299
BTN_DEAD = 303
BTN_SOUTH = 304
BTN_EAST = 305
BTN_C = 306
BTN_NORTH = 307
BTN_WEST = 308
BTN_Z = 309
BTN_TL = 310
BTN_TR = 311
BTN_TL2 = 312
BTN_TR2 = 313
BTN_SELECT = 314
BTN_START = 315
BTN_MODE = 316
BTN_THUMBL = 317
BTN_THUMBR = 318
BTN_TOOL_PEN = 320
BTN_TOOL_RUBBER = 321
BTN_TOOL_BRUSH = 322
BTN_TOOL_PENCIL = 323
BTN_TOOL_AIRBRUSH = 324
BTN_TOOL_FINGER = 325
BTN_TOOL_MOUSE = 326
BTN_TOOL_LENS = 327
BTN_TOOL_QUINTTAP = 328
BTN_STYLUS3 = 329
BTN_TOUCH = 330
BTN_STYLUS = 331
BTN_STYLUS2 = 332
BTN_TOOL_DOUBLETAP = 333
BTN_TOOL_TRIPLETAP = 334
BTN_TOOL_QUADTAP = 335
BTN_GEAR_DOWN = 336
BTN_GEAR_UP = 337
BTN_DPAD_UP = 544
BTN_DPAD_DOWN = 545
BTN_DPAD_LEFT = 546
BTN_DPAD_RIGHT = 547
BTN_TRIGGER_HAPPY1 = 704
BTN_TRIGGER_HAPPY2 = 705
BTN_TRIGGER_HAPPY3 = 706
BTN_TRIGGER_HAPPY4 = 707
BTN_TRIGGER_HAPPY5 = 708
BTN_TRIGGER_HAPPY6 = 709
BTN_TRIGGER_HAPPY7 = 710
BTN_TRIGGER_HAPPY8 = 711
BTN_TRIGGER_HAPPY9 = 712
BTN_TRIGGER_HAPPY10 = 713
BTN_TRIGGER_HAPPY11 = 714
BTN_TRIGGER_HAPPY12 = 715
BTN_TRIGGER_HAPPY13 = 716
BTN_TRIGGER_HAPPY14 = 717
BTN_TRIGGER_HAPPY15 = 718
BTN_TRIGGER_HAPPY16 = 719
BTN_TRIGGER_HAPPY17 = 720
BTN_TRIGGER_HAPPY18 = 721
BTN_TRIGGER_HAPPY19 = 722
BTN_TRIGGER_HAPPY20 = 723
BTN_TRIGGER_HAPPY21 = 724
BTN_TRIGGER_HAPPY22 = 725
BTN_TRIGGER_HAPPY23 = 726
BTN_TRIGGER_HAPPY24 = 727
BTN_TRIGGER_HAPPY25 = 728
BTN_TRIGGER_HAPPY26 = 729
BTN_TRIGGER_HAPPY27 = 730
BTN_TRIGGER_HAPPY28 = 731
BTN_TRIGGER_HAPPY29 = 732
BTN_TRIGGER_HAPPY30 = 733
BTN_TRIGGER_HAPPY31 = 734
BTN_TRIGGER_HAPPY32 = 735
BTN_TRIGGER_HAPPY33 = 736
BTN_TRIGGER_HAPPY34 = 737
BTN_TRIGGER_HAPPY35 = 738
BTN_TRIGGER_HAPPY36 = 739
BTN_TRIGGER_HAPPY37 = 740
BTN_TRIGGER_HAPPY38 = 741
BTN_TRIGGER_HAPPY39 = 742
BTN_TRIGGER_HAPPY40 = 743
Trait Implementations§
source§impl<'de> Deserialize<'de> for EV_KEY
impl<'de> Deserialize<'de> for EV_KEY
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for EV_KEY
impl Ord for EV_KEY
source§impl PartialEq for EV_KEY
impl PartialEq for EV_KEY
source§impl PartialOrd for EV_KEY
impl PartialOrd for EV_KEY
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for EV_KEY
impl Eq for EV_KEY
impl StructuralPartialEq for EV_KEY
Auto Trait Implementations§
impl Freeze for EV_KEY
impl RefUnwindSafe for EV_KEY
impl Send for EV_KEY
impl Sync for EV_KEY
impl Unpin for EV_KEY
impl UnwindSafe for EV_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