summaryrefslogtreecommitdiff
path: root/XF86keysym.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-05-10 15:26:45 +0200
committerHans de Goede <hdegoede@redhat.com>2017-05-12 12:17:15 +0200
commit98a32d328e7195e12c38baa877917335bceffbaf (patch)
tree05c09bc088bae0a17f335945c86b13e28ca808c0 /XF86keysym.h
parent9019240a9a5c869875ff6c5c28e6fca75fa90580 (diff)
Add XF86XK_WWAN and XF86XK_RFKill
Add Keysyms corresponding to the evdev WWAN and RFKILL keys, we already have Keysyms for WLAN and UWB from linux/input-event-codes.h: #define KEY_WLAN 238 #define KEY_UWB 239 But not for the WWAN and generic RFKILL keys: #define KEY_WWAN 246 /* Wireless WAN (LTE, UMTS, GSM, etc.) */ #define KEY_WIMAX KEY_WWAN #define KEY_RFKILL 247 /* Key that controls all radios */ This commits add Keysyms for these so that we can add proper mappings for them to xkb. Cc: Bastien Nocera <bnocera@redhat.com> Cc: Benjamin Berg <bberg@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'XF86keysym.h')
-rw-r--r--XF86keysym.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/XF86keysym.h b/XF86keysym.h
index 89d40b8..8576358 100644
--- a/XF86keysym.h
+++ b/XF86keysym.h
@@ -199,6 +199,9 @@
#define XF86XK_Keyboard 0x1008FFB3 /* User defined keyboard related action */
+#define XF86XK_WWAN 0x1008FFB4 /* Toggle WWAN (LTE, UMTS, etc.) radio */
+#define XF86XK_RFKill 0x1008FFB5 /* Toggle radios on/off */
+
/* Keys for special action keys (hot keys) */
/* Virtual terminals on some operating systems */
#define XF86XK_Switch_VT_1 0x1008FE01