From: Hans de Goede Date: Sat, 14 Nov 2020 17:16:12 +0000 (+0100) Subject: hwdb: 60-keyboard: Update Logitech MX5000 key mappings X-Git-Tag: v247~68^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F17614%2Fhead;p=thirdparty%2Fsystemd.git 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 --- diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb index 87e6c4e2cb5..670442b7c0d 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*