summaryrefslogtreecommitdiff
path: root/hwdb.d/60-keyboard.hwdb
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2020-11-14 18:16:12 +0100
committerHans de Goede <hdegoede@redhat.com>2020-11-14 22:21:53 +0100
commit7983b4d9c61e961c69aae51a7f9c06bbb1b741f8 (patch)
tree0645558c951ff7641e60cfb73a59fbac0cb44583 /hwdb.d/60-keyboard.hwdb
parentd46c0febab86d5d597226e0d1272e63b9f3ded84 (diff)
downloadsystemd-7983b4d9c61e961c69aae51a7f9c06bbb1b741f8.tar.gz
hwdb: 60-keyboard: Update Logitech MX5000 key mappings
2 updates to the Logitech MX5000 key mappings: 1. Fix Logitech MX5000 Media key mapping: The MX5000 has a key clearly marked "media" (in text) and when they gets pressed the keyboards LCD briefly shows "MEDIA" in a big font. Yet the keyboard sends a HID usage code which according to the HUTT is config/control-panel. Map this to media so that the key behaves as labeled. 2. Add mapping for the scan-code send by the Fn on/off toggle key
Diffstat (limited to 'hwdb.d/60-keyboard.hwdb')
-rw-r--r--hwdb.d/60-keyboard.hwdb2
1 files changed, 2 insertions, 0 deletions
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 87e6c4e2cb..670442b7c0 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -1029,6 +1029,7 @@ evdev:input:b0003v046Dp00FE*
# MX5000 keyboard (HID proxy mode and bluetooth matches)
evdev:input:b0003v046DpB305*
evdev:input:b0005v046DpB305*
+ KEYBOARD_KEY_c0183=media # HUT says config, kbd says Media
KEYBOARD_KEY_c0230=zoomreset # HUT says fullscreen, kbd says 100%
KEYBOARD_KEY_c1004=send # Send and receive / sync button
KEYBOARD_KEY_c1006=coffee # Status (online/away) button
@@ -1041,6 +1042,7 @@ evdev:input:b0005v046DpB305*
KEYBOARD_KEY_c1039=prog2 # Smartkey B → XF86Launch2
KEYBOARD_KEY_c103a=prog3 # Smartkey C → XF86Launch3
KEYBOARD_KEY_c103b=prog4 # Smartkey D → XF86Launch4
+ KEYBOARD_KEY_c1040=fn_esc # Fn mode on/off toggle
# Dinovo Edge (HID proxy mode and bluetooth matches)
evdev:input:b0003v046DpB309*