github.com/rajveermalviya/gamen@v0.1.2-0.20220930195403-9be15877c1aa/internal/xkbcommon/include/X11/XF86keysym.h (about)

     1  /*
     2   * XFree86 vendor specific keysyms.
     3   *
     4   * The XFree86 keysym range is 0x10080001 - 0x1008FFFF.
     5   *
     6   * The XF86 set of keysyms is a catch-all set of defines for keysyms found
     7   * on various multimedia keyboards. Originally specific to XFree86 they have
     8   * been been adopted over time and are considered a "standard" part of X
     9   * keysym definitions.
    10   * XFree86 never properly commented these keysyms, so we have done our
    11   * best to explain the semantic meaning of these keys.
    12   *
    13   * XFree86 has removed their mail archives of the period, that might have
    14   * shed more light on some of these definitions. Until/unless we resurrect
    15   * these archives, these are from memory and usage.
    16   */
    17  
    18  /*
    19   * ModeLock
    20   *
    21   * This one is old, and not really used any more since XKB offers this
    22   * functionality.
    23   */
    24  
    25  #define XF86XK_ModeLock		0x1008FF01	/* Mode Switch Lock */
    26  
    27  /* Backlight controls. */
    28  #define XF86XK_MonBrightnessUp    0x1008FF02  /* Monitor/panel brightness */
    29  #define XF86XK_MonBrightnessDown  0x1008FF03  /* Monitor/panel brightness */
    30  #define XF86XK_KbdLightOnOff      0x1008FF04  /* Keyboards may be lit     */
    31  #define XF86XK_KbdBrightnessUp    0x1008FF05  /* Keyboards may be lit     */
    32  #define XF86XK_KbdBrightnessDown  0x1008FF06  /* Keyboards may be lit     */
    33  #define XF86XK_MonBrightnessCycle 0x1008FF07  /* Monitor/panel brightness */
    34  
    35  /*
    36   * Keys found on some "Internet" keyboards.
    37   */
    38  #define XF86XK_Standby		0x1008FF10   /* System into standby mode   */
    39  #define XF86XK_AudioLowerVolume	0x1008FF11   /* Volume control down        */
    40  #define XF86XK_AudioMute	0x1008FF12   /* Mute sound from the system */
    41  #define XF86XK_AudioRaiseVolume	0x1008FF13   /* Volume control up          */
    42  #define XF86XK_AudioPlay	0x1008FF14   /* Start playing of audio >   */
    43  #define XF86XK_AudioStop	0x1008FF15   /* Stop playing audio         */
    44  #define XF86XK_AudioPrev	0x1008FF16   /* Previous track             */
    45  #define XF86XK_AudioNext	0x1008FF17   /* Next track                 */
    46  #define XF86XK_HomePage		0x1008FF18   /* Display user's home page   */
    47  #define XF86XK_Mail		0x1008FF19   /* Invoke user's mail program */
    48  #define XF86XK_Start		0x1008FF1A   /* Start application          */
    49  #define XF86XK_Search		0x1008FF1B   /* Search                     */
    50  #define XF86XK_AudioRecord	0x1008FF1C   /* Record audio application   */
    51  
    52  /* These are sometimes found on PDA's (e.g. Palm, PocketPC or elsewhere)   */
    53  #define XF86XK_Calculator	0x1008FF1D   /* Invoke calculator program  */
    54  #define XF86XK_Memo		0x1008FF1E   /* Invoke Memo taking program */
    55  #define XF86XK_ToDoList		0x1008FF1F   /* Invoke To Do List program  */
    56  #define XF86XK_Calendar		0x1008FF20   /* Invoke Calendar program    */
    57  #define XF86XK_PowerDown	0x1008FF21   /* Deep sleep the system      */
    58  #define XF86XK_ContrastAdjust	0x1008FF22   /* Adjust screen contrast     */
    59  #define XF86XK_RockerUp		0x1008FF23   /* Rocker switches exist up   */
    60  #define XF86XK_RockerDown	0x1008FF24   /* and down                   */
    61  #define XF86XK_RockerEnter	0x1008FF25   /* and let you press them     */
    62  
    63  /* Some more "Internet" keyboard symbols */
    64  #define XF86XK_Back		0x1008FF26   /* Like back on a browser     */
    65  #define XF86XK_Forward		0x1008FF27   /* Like forward on a browser  */
    66  #define XF86XK_Stop		0x1008FF28   /* Stop current operation     */
    67  #define XF86XK_Refresh		0x1008FF29   /* Refresh the page           */
    68  #define XF86XK_PowerOff		0x1008FF2A   /* Power off system entirely  */
    69  #define XF86XK_WakeUp		0x1008FF2B   /* Wake up system from sleep  */
    70  #define XF86XK_Eject            0x1008FF2C   /* Eject device (e.g. DVD)    */
    71  #define XF86XK_ScreenSaver      0x1008FF2D   /* Invoke screensaver         */
    72  #define XF86XK_WWW              0x1008FF2E   /* Invoke web browser         */
    73  #define XF86XK_Sleep            0x1008FF2F   /* Put system to sleep        */
    74  #define XF86XK_Favorites	0x1008FF30   /* Show favorite locations    */
    75  #define XF86XK_AudioPause	0x1008FF31   /* Pause audio playing        */
    76  #define XF86XK_AudioMedia	0x1008FF32   /* Launch media collection app */
    77  #define XF86XK_MyComputer	0x1008FF33   /* Display "My Computer" window */
    78  #define XF86XK_VendorHome	0x1008FF34   /* Display vendor home web site */
    79  #define XF86XK_LightBulb	0x1008FF35   /* Light bulb keys exist       */
    80  #define XF86XK_Shop		0x1008FF36   /* Display shopping web site   */
    81  #define XF86XK_History		0x1008FF37   /* Show history of web surfing */
    82  #define XF86XK_OpenURL		0x1008FF38   /* Open selected URL           */
    83  #define XF86XK_AddFavorite	0x1008FF39   /* Add URL to favorites list   */
    84  #define XF86XK_HotLinks		0x1008FF3A   /* Show "hot" links            */
    85  #define XF86XK_BrightnessAdjust	0x1008FF3B   /* Invoke brightness adj. UI   */
    86  #define XF86XK_Finance		0x1008FF3C   /* Display financial site      */
    87  #define XF86XK_Community	0x1008FF3D   /* Display user's community    */
    88  #define XF86XK_AudioRewind	0x1008FF3E   /* "rewind" audio track        */
    89  #define XF86XK_BackForward	0x1008FF3F   /* ??? */
    90  #define XF86XK_Launch0		0x1008FF40   /* Launch Application          */
    91  #define XF86XK_Launch1		0x1008FF41   /* Launch Application          */
    92  #define XF86XK_Launch2		0x1008FF42   /* Launch Application          */
    93  #define XF86XK_Launch3		0x1008FF43   /* Launch Application          */
    94  #define XF86XK_Launch4		0x1008FF44   /* Launch Application          */
    95  #define XF86XK_Launch5		0x1008FF45   /* Launch Application          */
    96  #define XF86XK_Launch6		0x1008FF46   /* Launch Application          */
    97  #define XF86XK_Launch7		0x1008FF47   /* Launch Application          */
    98  #define XF86XK_Launch8		0x1008FF48   /* Launch Application          */
    99  #define XF86XK_Launch9		0x1008FF49   /* Launch Application          */
   100  #define XF86XK_LaunchA		0x1008FF4A   /* Launch Application          */
   101  #define XF86XK_LaunchB		0x1008FF4B   /* Launch Application          */
   102  #define XF86XK_LaunchC		0x1008FF4C   /* Launch Application          */
   103  #define XF86XK_LaunchD		0x1008FF4D   /* Launch Application          */
   104  #define XF86XK_LaunchE		0x1008FF4E   /* Launch Application          */
   105  #define XF86XK_LaunchF		0x1008FF4F   /* Launch Application          */
   106  
   107  #define XF86XK_ApplicationLeft	0x1008FF50   /* switch to application, left */
   108  #define XF86XK_ApplicationRight	0x1008FF51   /* switch to application, right*/
   109  #define XF86XK_Book		0x1008FF52   /* Launch bookreader           */
   110  #define XF86XK_CD		0x1008FF53   /* Launch CD/DVD player        */
   111  #define XF86XK_Calculater	0x1008FF54   /* Launch Calculater           */
   112  #define XF86XK_Clear		0x1008FF55   /* Clear window, screen        */
   113  #define XF86XK_Close		0x1008FF56   /* Close window                */
   114  #define XF86XK_Copy		0x1008FF57   /* Copy selection              */
   115  #define XF86XK_Cut		0x1008FF58   /* Cut selection               */
   116  #define XF86XK_Display		0x1008FF59   /* Output switch key           */
   117  #define XF86XK_DOS		0x1008FF5A   /* Launch DOS (emulation)      */
   118  #define XF86XK_Documents	0x1008FF5B   /* Open documents window       */
   119  #define XF86XK_Excel		0x1008FF5C   /* Launch spread sheet         */
   120  #define XF86XK_Explorer		0x1008FF5D   /* Launch file explorer        */
   121  #define XF86XK_Game		0x1008FF5E   /* Launch game                 */
   122  #define XF86XK_Go		0x1008FF5F   /* Go to URL                   */
   123  #define XF86XK_iTouch		0x1008FF60   /* Logitech iTouch- don't use  */
   124  #define XF86XK_LogOff		0x1008FF61   /* Log off system              */
   125  #define XF86XK_Market		0x1008FF62   /* ??                          */
   126  #define XF86XK_Meeting		0x1008FF63   /* enter meeting in calendar   */
   127  #define XF86XK_MenuKB		0x1008FF65   /* distinguish keyboard from PB */
   128  #define XF86XK_MenuPB		0x1008FF66   /* distinguish PB from keyboard */
   129  #define XF86XK_MySites		0x1008FF67   /* Favourites                  */
   130  #define XF86XK_New		0x1008FF68   /* New (folder, document...    */
   131  #define XF86XK_News		0x1008FF69   /* News                        */
   132  #define XF86XK_OfficeHome	0x1008FF6A   /* Office home (old Staroffice)*/
   133  #define XF86XK_Open		0x1008FF6B   /* Open                        */
   134  #define XF86XK_Option		0x1008FF6C   /* ?? */
   135  #define XF86XK_Paste		0x1008FF6D   /* Paste                       */
   136  #define XF86XK_Phone		0x1008FF6E   /* Launch phone; dial number   */
   137  #define XF86XK_Q		0x1008FF70   /* Compaq's Q - don't use      */
   138  #define XF86XK_Reply		0x1008FF72   /* Reply e.g., mail            */
   139  #define XF86XK_Reload		0x1008FF73   /* Reload web page, file, etc. */
   140  #define XF86XK_RotateWindows	0x1008FF74   /* Rotate windows e.g. xrandr  */
   141  #define XF86XK_RotationPB	0x1008FF75   /* don't use                   */
   142  #define XF86XK_RotationKB	0x1008FF76   /* don't use                   */
   143  #define XF86XK_Save		0x1008FF77   /* Save (file, document, state */
   144  #define XF86XK_ScrollUp		0x1008FF78   /* Scroll window/contents up   */
   145  #define XF86XK_ScrollDown	0x1008FF79   /* Scrool window/contentd down */
   146  #define XF86XK_ScrollClick	0x1008FF7A   /* Use XKB mousekeys instead   */
   147  #define XF86XK_Send		0x1008FF7B   /* Send mail, file, object     */
   148  #define XF86XK_Spell		0x1008FF7C   /* Spell checker               */
   149  #define XF86XK_SplitScreen	0x1008FF7D   /* Split window or screen      */
   150  #define XF86XK_Support		0x1008FF7E   /* Get support (??)            */
   151  #define XF86XK_TaskPane		0x1008FF7F   /* Show tasks */
   152  #define XF86XK_Terminal		0x1008FF80   /* Launch terminal emulator    */
   153  #define XF86XK_Tools		0x1008FF81   /* toolbox of desktop/app.     */
   154  #define XF86XK_Travel		0x1008FF82   /* ?? */
   155  #define XF86XK_UserPB		0x1008FF84   /* ?? */
   156  #define XF86XK_User1KB		0x1008FF85   /* ?? */
   157  #define XF86XK_User2KB		0x1008FF86   /* ?? */
   158  #define XF86XK_Video		0x1008FF87   /* Launch video player       */
   159  #define XF86XK_WheelButton	0x1008FF88   /* button from a mouse wheel */
   160  #define XF86XK_Word		0x1008FF89   /* Launch word processor     */
   161  #define XF86XK_Xfer		0x1008FF8A
   162  #define XF86XK_ZoomIn		0x1008FF8B   /* zoom in view, map, etc.   */
   163  #define XF86XK_ZoomOut		0x1008FF8C   /* zoom out view, map, etc.  */
   164  
   165  #define XF86XK_Away		0x1008FF8D   /* mark yourself as away     */
   166  #define XF86XK_Messenger	0x1008FF8E   /* as in instant messaging   */
   167  #define XF86XK_WebCam		0x1008FF8F   /* Launch web camera app.    */
   168  #define XF86XK_MailForward	0x1008FF90   /* Forward in mail           */
   169  #define XF86XK_Pictures		0x1008FF91   /* Show pictures             */
   170  #define XF86XK_Music		0x1008FF92   /* Launch music application  */
   171  
   172  #define XF86XK_Battery		0x1008FF93   /* Display battery information */
   173  #define XF86XK_Bluetooth	0x1008FF94   /* Enable/disable Bluetooth    */
   174  #define XF86XK_WLAN		0x1008FF95   /* Enable/disable WLAN         */
   175  #define XF86XK_UWB		0x1008FF96   /* Enable/disable UWB	    */
   176  
   177  #define XF86XK_AudioForward	0x1008FF97   /* fast-forward audio track    */
   178  #define XF86XK_AudioRepeat	0x1008FF98   /* toggle repeat mode          */
   179  #define XF86XK_AudioRandomPlay	0x1008FF99   /* toggle shuffle mode         */
   180  #define XF86XK_Subtitle		0x1008FF9A   /* cycle through subtitle      */
   181  #define XF86XK_AudioCycleTrack	0x1008FF9B   /* cycle through audio tracks  */
   182  #define XF86XK_CycleAngle	0x1008FF9C   /* cycle through angles        */
   183  #define XF86XK_FrameBack	0x1008FF9D   /* video: go one frame back    */
   184  #define XF86XK_FrameForward	0x1008FF9E   /* video: go one frame forward */
   185  #define XF86XK_Time		0x1008FF9F   /* display, or shows an entry for time seeking */
   186  #define XF86XK_Select		0x1008FFA0   /* Select button on joypads and remotes */
   187  #define XF86XK_View		0x1008FFA1   /* Show a view options/properties */
   188  #define XF86XK_TopMenu		0x1008FFA2   /* Go to a top-level menu in a video */
   189  
   190  #define XF86XK_Red		0x1008FFA3   /* Red button                  */
   191  #define XF86XK_Green		0x1008FFA4   /* Green button                */
   192  #define XF86XK_Yellow		0x1008FFA5   /* Yellow button               */
   193  #define XF86XK_Blue             0x1008FFA6   /* Blue button                 */
   194  
   195  #define XF86XK_Suspend		0x1008FFA7   /* Sleep to RAM                */
   196  #define XF86XK_Hibernate	0x1008FFA8   /* Sleep to disk               */
   197  #define XF86XK_TouchpadToggle	0x1008FFA9   /* Toggle between touchpad/trackstick */
   198  #define XF86XK_TouchpadOn	0x1008FFB0   /* The touchpad got switched on */
   199  #define XF86XK_TouchpadOff	0x1008FFB1   /* The touchpad got switched off */
   200  
   201  #define XF86XK_AudioMicMute	0x1008FFB2   /* Mute the Mic from the system */
   202  
   203  #define XF86XK_Keyboard		0x1008FFB3   /* User defined keyboard related action */
   204  
   205  #define XF86XK_WWAN		0x1008FFB4   /* Toggle WWAN (LTE, UMTS, etc.) radio */
   206  #define XF86XK_RFKill		0x1008FFB5   /* Toggle radios on/off */
   207  
   208  #define XF86XK_AudioPreset	0x1008FFB6   /* Select equalizer preset, e.g. theatre-mode */
   209  
   210  #define XF86XK_RotationLockToggle 0x1008FFB7 /* Toggle screen rotation lock on/off */
   211  
   212  #define XF86XK_FullScreen	0x1008FFB8   /* Toggle fullscreen */
   213  
   214  /* Keys for special action keys (hot keys) */
   215  /* Virtual terminals on some operating systems */
   216  #define XF86XK_Switch_VT_1	0x1008FE01
   217  #define XF86XK_Switch_VT_2	0x1008FE02
   218  #define XF86XK_Switch_VT_3	0x1008FE03
   219  #define XF86XK_Switch_VT_4	0x1008FE04
   220  #define XF86XK_Switch_VT_5	0x1008FE05
   221  #define XF86XK_Switch_VT_6	0x1008FE06
   222  #define XF86XK_Switch_VT_7	0x1008FE07
   223  #define XF86XK_Switch_VT_8	0x1008FE08
   224  #define XF86XK_Switch_VT_9	0x1008FE09
   225  #define XF86XK_Switch_VT_10	0x1008FE0A
   226  #define XF86XK_Switch_VT_11	0x1008FE0B
   227  #define XF86XK_Switch_VT_12	0x1008FE0C
   228  
   229  #define XF86XK_Ungrab		0x1008FE20   /* force ungrab               */
   230  #define XF86XK_ClearGrab	0x1008FE21   /* kill application with grab */
   231  #define XF86XK_Next_VMode	0x1008FE22   /* next video mode available  */
   232  #define XF86XK_Prev_VMode	0x1008FE23   /* prev. video mode available */
   233  #define XF86XK_LogWindowTree	0x1008FE24   /* print window tree to log   */
   234  #define XF86XK_LogGrabInfo	0x1008FE25   /* print all active grabs to log */
   235  
   236  
   237  /*
   238   * Reserved range for evdev symbols: 0x10081000-0x10081FFF
   239   *
   240   * Key syms within this range must match the Linux kernel
   241   * input-event-codes.h file in the format:
   242   *     XF86XK_CamelCaseKernelName	_EVDEVK(kernel value)
   243   * For example, the kernel
   244   *   #define KEY_MACRO_RECORD_START	0x2b0
   245   * effectively ends up as:
   246   *   #define XF86XK_MacroRecordStart	0x100812b0
   247   *
   248   * For historical reasons, some keysyms within the reserved range will be
   249   * missing, most notably all "normal" keys that are mapped through default
   250   * XKB layouts (e.g. KEY_Q).
   251   *
   252   * CamelCasing is done with a human control as last authority, e.g. see VOD
   253   * instead of Vod for the Video on Demand key.
   254   *
   255   * The format for #defines is strict:
   256   *
   257   * #define XF86XK_FOO<tab...>_EVDEVK(0xABC)<tab><tab> |* kver KEY_FOO *|
   258   *
   259   * Where
   260   * - alignment by tabs
   261   * - the _EVDEVK macro must be used
   262   * - the hex code must be in uppercase hex
   263   * - the kernel version (kver) is in the form v5.10
   264   * - kver and key name are within a slash-star comment (a pipe is used in
   265   *   this example for technical reasons)
   266   * These #defines are parsed by scripts. Do not stray from the given format.
   267   *
   268   * Where the evdev keycode is mapped to a different symbol, please add a
   269   * comment line starting with Use: but otherwise the same format, e.g.
   270   *  Use: XF86XK_RotationLockToggle	_EVDEVK(0x231)		   v4.16 KEY_ROTATE_LOCK_TOGGLE
   271   *
   272   */
   273  #define _EVDEVK(_v) (0x10081000 + _v)
   274  /* Use: XF86XK_Eject			_EVDEVK(0x0A2)		         KEY_EJECTCLOSECD */
   275  /* Use: XF86XK_New			_EVDEVK(0x0B5)		   v2.6.14 KEY_NEW */
   276  /* Use: XK_Redo				_EVDEVK(0x0B6)		   v2.6.14 KEY_REDO */
   277  /* KEY_DASHBOARD has been mapped to LaunchB in xkeyboard-config since 2011 */
   278  /* Use: XF86XK_LaunchB			_EVDEVK(0x0CC)		   v2.6.28 KEY_DASHBOARD */
   279  /* Use: XF86XK_Display			_EVDEVK(0x0E3)		   v2.6.12 KEY_SWITCHVIDEOMODE */
   280  /* Use: XF86XK_KbdLightOnOff		_EVDEVK(0x0E4)		   v2.6.12 KEY_KBDILLUMTOGGLE */
   281  /* Use: XF86XK_KbdBrightnessDown	_EVDEVK(0x0E5)		   v2.6.12 KEY_KBDILLUMDOWN */
   282  /* Use: XF86XK_KbdBrightnessUp		_EVDEVK(0x0E6)		   v2.6.12 KEY_KBDILLUMUP */
   283  /* Use: XF86XK_Send			_EVDEVK(0x0E7)		   v2.6.14 KEY_SEND */
   284  /* Use: XF86XK_Reply			_EVDEVK(0x0E8)		   v2.6.14 KEY_REPLY */
   285  /* Use: XF86XK_MailForward		_EVDEVK(0x0E9)		   v2.6.14 KEY_FORWARDMAIL */
   286  /* Use: XF86XK_Save			_EVDEVK(0x0EA)		   v2.6.14 KEY_SAVE */
   287  /* Use: XF86XK_Documents		_EVDEVK(0x0EB)		   v2.6.14 KEY_DOCUMENTS */
   288  /* Use: XF86XK_Battery			_EVDEVK(0x0EC)		   v2.6.17 KEY_BATTERY */
   289  /* Use: XF86XK_Bluetooth		_EVDEVK(0x0ED)		   v2.6.19 KEY_BLUETOOTH */
   290  /* Use: XF86XK_WLAN			_EVDEVK(0x0EE)		   v2.6.19 KEY_WLAN */
   291  /* Use: XF86XK_UWB			_EVDEVK(0x0EF)		   v2.6.24 KEY_UWB */
   292  /* Use: XF86XK_Next_VMode		_EVDEVK(0x0F1)		   v2.6.23 KEY_VIDEO_NEXT */
   293  /* Use: XF86XK_Prev_VMode		_EVDEVK(0x0F2)		   v2.6.23 KEY_VIDEO_PREV */
   294  /* Use: XF86XK_MonBrightnessCycle	_EVDEVK(0x0F3)		   v2.6.23 KEY_BRIGHTNESS_CYCLE */
   295  #define XF86XK_BrightnessAuto		_EVDEVK(0x0F4)		/* v3.16 KEY_BRIGHTNESS_AUTO */
   296  #define XF86XK_DisplayOff		_EVDEVK(0x0F5)		/* v2.6.23 KEY_DISPLAY_OFF */
   297  /* Use: XF86XK_WWAN			_EVDEVK(0x0F6)		   v3.13 KEY_WWAN */
   298  /* Use: XF86XK_RFKill			_EVDEVK(0x0F7)		   v2.6.33 KEY_RFKILL */
   299  /* Use: XF86XK_AudioMicMute		_EVDEVK(0x0F8)		   v3.1  KEY_MICMUTE */
   300  #define XF86XK_Info			_EVDEVK(0x166)		/*       KEY_INFO */
   301  /* Use: XF86XK_CycleAngle		_EVDEVK(0x173)		         KEY_ANGLE */
   302  /* Use: XF86XK_FullScreen		_EVDEVK(0x174)		   v5.1  KEY_FULL_SCREEN */
   303  #define XF86XK_AspectRatio		_EVDEVK(0x177)		/* v5.1  KEY_ASPECT_RATIO */
   304  #define XF86XK_DVD			_EVDEVK(0x185)		/*       KEY_DVD */
   305  #define XF86XK_Audio			_EVDEVK(0x188)		/*       KEY_AUDIO */
   306  /* Use: XF86XK_Video			_EVDEVK(0x189)		         KEY_VIDEO */
   307  /* Use: XF86XK_Calendar			_EVDEVK(0x18D)		         KEY_CALENDAR */
   308  #define XF86XK_ChannelUp		_EVDEVK(0x192)		/*       KEY_CHANNELUP */
   309  #define XF86XK_ChannelDown		_EVDEVK(0x193)		/*       KEY_CHANNELDOWN */
   310  /* Use: XF86XK_AudioRandomPlay		_EVDEVK(0x19A)		         KEY_SHUFFLE */
   311  #define XF86XK_Break			_EVDEVK(0x19B)		/*       KEY_BREAK */
   312  #define XF86XK_VideoPhone		_EVDEVK(0x1A0)		/* v2.6.20 KEY_VIDEOPHONE */
   313  /* Use: XF86XK_Game			_EVDEVK(0x1A1)		   v2.6.20 KEY_GAMES */
   314  /* Use: XF86XK_ZoomIn			_EVDEVK(0x1A2)		   v2.6.20 KEY_ZOOMIN */
   315  /* Use: XF86XK_ZoomOut			_EVDEVK(0x1A3)		   v2.6.20 KEY_ZOOMOUT */
   316  #define XF86XK_ZoomReset		_EVDEVK(0x1A4)		/* v2.6.20 KEY_ZOOMRESET */
   317  /* Use: XF86XK_Word			_EVDEVK(0x1A5)		   v2.6.20 KEY_WORDPROCESSOR */
   318  #define XF86XK_Editor			_EVDEVK(0x1A6)		/* v2.6.20 KEY_EDITOR */
   319  /* Use: XF86XK_Excel			_EVDEVK(0x1A7)		   v2.6.20 KEY_SPREADSHEET */
   320  #define XF86XK_GraphicsEditor		_EVDEVK(0x1A8)		/* v2.6.20 KEY_GRAPHICSEDITOR */
   321  #define XF86XK_Presentation		_EVDEVK(0x1A9)		/* v2.6.20 KEY_PRESENTATION */
   322  #define XF86XK_Database			_EVDEVK(0x1AA)		/* v2.6.20 KEY_DATABASE */
   323  /* Use: XF86XK_News			_EVDEVK(0x1AB)		   v2.6.20 KEY_NEWS */
   324  #define XF86XK_Voicemail		_EVDEVK(0x1AC)		/* v2.6.20 KEY_VOICEMAIL */
   325  #define XF86XK_Addressbook		_EVDEVK(0x1AD)		/* v2.6.20 KEY_ADDRESSBOOK */
   326  /* Use: XF86XK_Messenger		_EVDEVK(0x1AE)		   v2.6.20 KEY_MESSENGER */
   327  #define XF86XK_DisplayToggle		_EVDEVK(0x1AF)		/* v2.6.20 KEY_DISPLAYTOGGLE */
   328  #define XF86XK_SpellCheck		_EVDEVK(0x1B0)		/* v2.6.24 KEY_SPELLCHECK */
   329  /* Use: XF86XK_LogOff			_EVDEVK(0x1B1)		   v2.6.24 KEY_LOGOFF */
   330  /* Use: XK_dollar			_EVDEVK(0x1B2)		   v2.6.24 KEY_DOLLAR */
   331  /* Use: XK_EuroSign			_EVDEVK(0x1B3)		   v2.6.24 KEY_EURO */
   332  /* Use: XF86XK_FrameBack		_EVDEVK(0x1B4)		   v2.6.24 KEY_FRAMEBACK */
   333  /* Use: XF86XK_FrameForward		_EVDEVK(0x1B5)		   v2.6.24 KEY_FRAMEFORWARD */
   334  #define XF86XK_ContextMenu		_EVDEVK(0x1B6)		/* v2.6.24 KEY_CONTEXT_MENU */
   335  #define XF86XK_MediaRepeat		_EVDEVK(0x1B7)		/* v2.6.26 KEY_MEDIA_REPEAT */
   336  #define XF86XK_10ChannelsUp		_EVDEVK(0x1B8)		/* v2.6.38 KEY_10CHANNELSUP */
   337  #define XF86XK_10ChannelsDown		_EVDEVK(0x1B9)		/* v2.6.38 KEY_10CHANNELSDOWN */
   338  #define XF86XK_Images			_EVDEVK(0x1BA)		/* v2.6.39 KEY_IMAGES */
   339  #define XF86XK_NotificationCenter	_EVDEVK(0x1BC)		/* v5.10 KEY_NOTIFICATION_CENTER */
   340  #define XF86XK_PickupPhone		_EVDEVK(0x1BD)		/* v5.10 KEY_PICKUP_PHONE */
   341  #define XF86XK_HangupPhone		_EVDEVK(0x1BE)		/* v5.10 KEY_HANGUP_PHONE */
   342  #define XF86XK_Fn			_EVDEVK(0x1D0)		/*       KEY_FN */
   343  #define XF86XK_Fn_Esc			_EVDEVK(0x1D1)		/*       KEY_FN_ESC */
   344  #define XF86XK_FnRightShift		_EVDEVK(0x1E5)		/* v5.10 KEY_FN_RIGHT_SHIFT */
   345  /* Use: XK_braille_dot_1		_EVDEVK(0x1F1)		   v2.6.17 KEY_BRL_DOT1 */
   346  /* Use: XK_braille_dot_2		_EVDEVK(0x1F2)		   v2.6.17 KEY_BRL_DOT2 */
   347  /* Use: XK_braille_dot_3		_EVDEVK(0x1F3)		   v2.6.17 KEY_BRL_DOT3 */
   348  /* Use: XK_braille_dot_4		_EVDEVK(0x1F4)		   v2.6.17 KEY_BRL_DOT4 */
   349  /* Use: XK_braille_dot_5		_EVDEVK(0x1F5)		   v2.6.17 KEY_BRL_DOT5 */
   350  /* Use: XK_braille_dot_6		_EVDEVK(0x1F6)		   v2.6.17 KEY_BRL_DOT6 */
   351  /* Use: XK_braille_dot_7		_EVDEVK(0x1F7)		   v2.6.17 KEY_BRL_DOT7 */
   352  /* Use: XK_braille_dot_8		_EVDEVK(0x1F8)		   v2.6.17 KEY_BRL_DOT8 */
   353  /* Use: XK_braille_dot_9		_EVDEVK(0x1F9)		   v2.6.23 KEY_BRL_DOT9 */
   354  /* Use: XK_braille_dot_1		_EVDEVK(0x1FA)		   v2.6.23 KEY_BRL_DOT10 */
   355  #define XF86XK_Numeric0			_EVDEVK(0x200)		/* v2.6.28 KEY_NUMERIC_0 */
   356  #define XF86XK_Numeric1			_EVDEVK(0x201)		/* v2.6.28 KEY_NUMERIC_1 */
   357  #define XF86XK_Numeric2			_EVDEVK(0x202)		/* v2.6.28 KEY_NUMERIC_2 */
   358  #define XF86XK_Numeric3			_EVDEVK(0x203)		/* v2.6.28 KEY_NUMERIC_3 */
   359  #define XF86XK_Numeric4			_EVDEVK(0x204)		/* v2.6.28 KEY_NUMERIC_4 */
   360  #define XF86XK_Numeric5			_EVDEVK(0x205)		/* v2.6.28 KEY_NUMERIC_5 */
   361  #define XF86XK_Numeric6			_EVDEVK(0x206)		/* v2.6.28 KEY_NUMERIC_6 */
   362  #define XF86XK_Numeric7			_EVDEVK(0x207)		/* v2.6.28 KEY_NUMERIC_7 */
   363  #define XF86XK_Numeric8			_EVDEVK(0x208)		/* v2.6.28 KEY_NUMERIC_8 */
   364  #define XF86XK_Numeric9			_EVDEVK(0x209)		/* v2.6.28 KEY_NUMERIC_9 */
   365  #define XF86XK_NumericStar		_EVDEVK(0x20A)		/* v2.6.28 KEY_NUMERIC_STAR */
   366  #define XF86XK_NumericPound		_EVDEVK(0x20B)		/* v2.6.28 KEY_NUMERIC_POUND */
   367  #define XF86XK_NumericA			_EVDEVK(0x20C)		/* v4.1  KEY_NUMERIC_A */
   368  #define XF86XK_NumericB			_EVDEVK(0x20D)		/* v4.1  KEY_NUMERIC_B */
   369  #define XF86XK_NumericC			_EVDEVK(0x20E)		/* v4.1  KEY_NUMERIC_C */
   370  #define XF86XK_NumericD			_EVDEVK(0x20F)		/* v4.1  KEY_NUMERIC_D */
   371  #define XF86XK_CameraFocus		_EVDEVK(0x210)		/* v2.6.33 KEY_CAMERA_FOCUS */
   372  #define XF86XK_WPSButton		_EVDEVK(0x211)		/* v2.6.34 KEY_WPS_BUTTON */
   373  /* Use: XF86XK_TouchpadToggle		_EVDEVK(0x212)		   v2.6.37 KEY_TOUCHPAD_TOGGLE */
   374  /* Use: XF86XK_TouchpadOn		_EVDEVK(0x213)		   v2.6.37 KEY_TOUCHPAD_ON */
   375  /* Use: XF86XK_TouchpadOff		_EVDEVK(0x214)		   v2.6.37 KEY_TOUCHPAD_OFF */
   376  #define XF86XK_CameraZoomIn		_EVDEVK(0x215)		/* v2.6.39 KEY_CAMERA_ZOOMIN */
   377  #define XF86XK_CameraZoomOut		_EVDEVK(0x216)		/* v2.6.39 KEY_CAMERA_ZOOMOUT */
   378  #define XF86XK_CameraUp			_EVDEVK(0x217)		/* v2.6.39 KEY_CAMERA_UP */
   379  #define XF86XK_CameraDown		_EVDEVK(0x218)		/* v2.6.39 KEY_CAMERA_DOWN */
   380  #define XF86XK_CameraLeft		_EVDEVK(0x219)		/* v2.6.39 KEY_CAMERA_LEFT */
   381  #define XF86XK_CameraRight		_EVDEVK(0x21A)		/* v2.6.39 KEY_CAMERA_RIGHT */
   382  #define XF86XK_AttendantOn		_EVDEVK(0x21B)		/* v3.10 KEY_ATTENDANT_ON */
   383  #define XF86XK_AttendantOff		_EVDEVK(0x21C)		/* v3.10 KEY_ATTENDANT_OFF */
   384  #define XF86XK_AttendantToggle		_EVDEVK(0x21D)		/* v3.10 KEY_ATTENDANT_TOGGLE */
   385  #define XF86XK_LightsToggle		_EVDEVK(0x21E)		/* v3.10 KEY_LIGHTS_TOGGLE */
   386  #define XF86XK_ALSToggle		_EVDEVK(0x230)		/* v3.13 KEY_ALS_TOGGLE */
   387  /* Use: XF86XK_RotationLockToggle	_EVDEVK(0x231)		   v4.16 KEY_ROTATE_LOCK_TOGGLE */
   388  #define XF86XK_Buttonconfig		_EVDEVK(0x240)		/* v3.16 KEY_BUTTONCONFIG */
   389  #define XF86XK_Taskmanager		_EVDEVK(0x241)		/* v3.16 KEY_TASKMANAGER */
   390  #define XF86XK_Journal			_EVDEVK(0x242)		/* v3.16 KEY_JOURNAL */
   391  #define XF86XK_ControlPanel		_EVDEVK(0x243)		/* v3.16 KEY_CONTROLPANEL */
   392  #define XF86XK_AppSelect		_EVDEVK(0x244)		/* v3.16 KEY_APPSELECT */
   393  #define XF86XK_Screensaver		_EVDEVK(0x245)		/* v3.16 KEY_SCREENSAVER */
   394  #define XF86XK_VoiceCommand		_EVDEVK(0x246)		/* v3.16 KEY_VOICECOMMAND */
   395  #define XF86XK_Assistant		_EVDEVK(0x247)		/* v4.13 KEY_ASSISTANT */
   396  /* Use: XK_ISO_Next_Group		_EVDEVK(0x248)		   v5.2  KEY_KBD_LAYOUT_NEXT */
   397  #define XF86XK_BrightnessMin		_EVDEVK(0x250)		/* v3.16 KEY_BRIGHTNESS_MIN */
   398  #define XF86XK_BrightnessMax		_EVDEVK(0x251)		/* v3.16 KEY_BRIGHTNESS_MAX */
   399  #define XF86XK_KbdInputAssistPrev	_EVDEVK(0x260)		/* v3.18 KEY_KBDINPUTASSIST_PREV */
   400  #define XF86XK_KbdInputAssistNext	_EVDEVK(0x261)		/* v3.18 KEY_KBDINPUTASSIST_NEXT */
   401  #define XF86XK_KbdInputAssistPrevgroup	_EVDEVK(0x262)		/* v3.18 KEY_KBDINPUTASSIST_PREVGROUP */
   402  #define XF86XK_KbdInputAssistNextgroup	_EVDEVK(0x263)		/* v3.18 KEY_KBDINPUTASSIST_NEXTGROUP */
   403  #define XF86XK_KbdInputAssistAccept	_EVDEVK(0x264)		/* v3.18 KEY_KBDINPUTASSIST_ACCEPT */
   404  #define XF86XK_KbdInputAssistCancel	_EVDEVK(0x265)		/* v3.18 KEY_KBDINPUTASSIST_CANCEL */
   405  #define XF86XK_RightUp			_EVDEVK(0x266)		/* v4.7  KEY_RIGHT_UP */
   406  #define XF86XK_RightDown		_EVDEVK(0x267)		/* v4.7  KEY_RIGHT_DOWN */
   407  #define XF86XK_LeftUp			_EVDEVK(0x268)		/* v4.7  KEY_LEFT_UP */
   408  #define XF86XK_LeftDown			_EVDEVK(0x269)		/* v4.7  KEY_LEFT_DOWN */
   409  #define XF86XK_RootMenu			_EVDEVK(0x26A)		/* v4.7  KEY_ROOT_MENU */
   410  #define XF86XK_MediaTopMenu		_EVDEVK(0x26B)		/* v4.7  KEY_MEDIA_TOP_MENU */
   411  #define XF86XK_Numeric11		_EVDEVK(0x26C)		/* v4.7  KEY_NUMERIC_11 */
   412  #define XF86XK_Numeric12		_EVDEVK(0x26D)		/* v4.7  KEY_NUMERIC_12 */
   413  #define XF86XK_AudioDesc		_EVDEVK(0x26E)		/* v4.7  KEY_AUDIO_DESC */
   414  #define XF86XK_3DMode			_EVDEVK(0x26F)		/* v4.7  KEY_3D_MODE */
   415  #define XF86XK_NextFavorite		_EVDEVK(0x270)		/* v4.7  KEY_NEXT_FAVORITE */
   416  #define XF86XK_StopRecord		_EVDEVK(0x271)		/* v4.7  KEY_STOP_RECORD */
   417  #define XF86XK_PauseRecord		_EVDEVK(0x272)		/* v4.7  KEY_PAUSE_RECORD */
   418  #define XF86XK_VOD			_EVDEVK(0x273)		/* v4.7  KEY_VOD */
   419  #define XF86XK_Unmute			_EVDEVK(0x274)		/* v4.7  KEY_UNMUTE */
   420  #define XF86XK_FastReverse		_EVDEVK(0x275)		/* v4.7  KEY_FASTREVERSE */
   421  #define XF86XK_SlowReverse		_EVDEVK(0x276)		/* v4.7  KEY_SLOWREVERSE */
   422  #define XF86XK_Data			_EVDEVK(0x277)		/* v4.7  KEY_DATA */
   423  #define XF86XK_OnScreenKeyboard		_EVDEVK(0x278)		/* v4.12 KEY_ONSCREEN_KEYBOARD */
   424  #define XF86XK_PrivacyScreenToggle	_EVDEVK(0x279)		/* v5.5  KEY_PRIVACY_SCREEN_TOGGLE */
   425  #define XF86XK_SelectiveScreenshot	_EVDEVK(0x27A)		/* v5.6  KEY_SELECTIVE_SCREENSHOT */
   426  #define XF86XK_Macro1			_EVDEVK(0x290)		/* v5.5  KEY_MACRO1 */
   427  #define XF86XK_Macro2			_EVDEVK(0x291)		/* v5.5  KEY_MACRO2 */
   428  #define XF86XK_Macro3			_EVDEVK(0x292)		/* v5.5  KEY_MACRO3 */
   429  #define XF86XK_Macro4			_EVDEVK(0x293)		/* v5.5  KEY_MACRO4 */
   430  #define XF86XK_Macro5			_EVDEVK(0x294)		/* v5.5  KEY_MACRO5 */
   431  #define XF86XK_Macro6			_EVDEVK(0x295)		/* v5.5  KEY_MACRO6 */
   432  #define XF86XK_Macro7			_EVDEVK(0x296)		/* v5.5  KEY_MACRO7 */
   433  #define XF86XK_Macro8			_EVDEVK(0x297)		/* v5.5  KEY_MACRO8 */
   434  #define XF86XK_Macro9			_EVDEVK(0x298)		/* v5.5  KEY_MACRO9 */
   435  #define XF86XK_Macro10			_EVDEVK(0x299)		/* v5.5  KEY_MACRO10 */
   436  #define XF86XK_Macro11			_EVDEVK(0x29A)		/* v5.5  KEY_MACRO11 */
   437  #define XF86XK_Macro12			_EVDEVK(0x29B)		/* v5.5  KEY_MACRO12 */
   438  #define XF86XK_Macro13			_EVDEVK(0x29C)		/* v5.5  KEY_MACRO13 */
   439  #define XF86XK_Macro14			_EVDEVK(0x29D)		/* v5.5  KEY_MACRO14 */
   440  #define XF86XK_Macro15			_EVDEVK(0x29E)		/* v5.5  KEY_MACRO15 */
   441  #define XF86XK_Macro16			_EVDEVK(0x29F)		/* v5.5  KEY_MACRO16 */
   442  #define XF86XK_Macro17			_EVDEVK(0x2A0)		/* v5.5  KEY_MACRO17 */
   443  #define XF86XK_Macro18			_EVDEVK(0x2A1)		/* v5.5  KEY_MACRO18 */
   444  #define XF86XK_Macro19			_EVDEVK(0x2A2)		/* v5.5  KEY_MACRO19 */
   445  #define XF86XK_Macro20			_EVDEVK(0x2A3)		/* v5.5  KEY_MACRO20 */
   446  #define XF86XK_Macro21			_EVDEVK(0x2A4)		/* v5.5  KEY_MACRO21 */
   447  #define XF86XK_Macro22			_EVDEVK(0x2A5)		/* v5.5  KEY_MACRO22 */
   448  #define XF86XK_Macro23			_EVDEVK(0x2A6)		/* v5.5  KEY_MACRO23 */
   449  #define XF86XK_Macro24			_EVDEVK(0x2A7)		/* v5.5  KEY_MACRO24 */
   450  #define XF86XK_Macro25			_EVDEVK(0x2A8)		/* v5.5  KEY_MACRO25 */
   451  #define XF86XK_Macro26			_EVDEVK(0x2A9)		/* v5.5  KEY_MACRO26 */
   452  #define XF86XK_Macro27			_EVDEVK(0x2AA)		/* v5.5  KEY_MACRO27 */
   453  #define XF86XK_Macro28			_EVDEVK(0x2AB)		/* v5.5  KEY_MACRO28 */
   454  #define XF86XK_Macro29			_EVDEVK(0x2AC)		/* v5.5  KEY_MACRO29 */
   455  #define XF86XK_Macro30			_EVDEVK(0x2AD)		/* v5.5  KEY_MACRO30 */
   456  #define XF86XK_MacroRecordStart		_EVDEVK(0x2B0)		/* v5.5  KEY_MACRO_RECORD_START */
   457  #define XF86XK_MacroRecordStop		_EVDEVK(0x2B1)		/* v5.5  KEY_MACRO_RECORD_STOP */
   458  #define XF86XK_MacroPresetCycle		_EVDEVK(0x2B2)		/* v5.5  KEY_MACRO_PRESET_CYCLE */
   459  #define XF86XK_MacroPreset1		_EVDEVK(0x2B3)		/* v5.5  KEY_MACRO_PRESET1 */
   460  #define XF86XK_MacroPreset2		_EVDEVK(0x2B4)		/* v5.5  KEY_MACRO_PRESET2 */
   461  #define XF86XK_MacroPreset3		_EVDEVK(0x2B5)		/* v5.5  KEY_MACRO_PRESET3 */
   462  #define XF86XK_KbdLcdMenu1		_EVDEVK(0x2B8)		/* v5.5  KEY_KBD_LCD_MENU1 */
   463  #define XF86XK_KbdLcdMenu2		_EVDEVK(0x2B9)		/* v5.5  KEY_KBD_LCD_MENU2 */
   464  #define XF86XK_KbdLcdMenu3		_EVDEVK(0x2BA)		/* v5.5  KEY_KBD_LCD_MENU3 */
   465  #define XF86XK_KbdLcdMenu4		_EVDEVK(0x2BB)		/* v5.5  KEY_KBD_LCD_MENU4 */
   466  #define XF86XK_KbdLcdMenu5		_EVDEVK(0x2BC)		/* v5.5  KEY_KBD_LCD_MENU5 */
   467  #undef _EVDEVK