]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: 60-keyboard: Update Logitech MX5000 key mappings 17614/head
authorHans de Goede <hdegoede@redhat.com>
Sat, 14 Nov 2020 17:16:12 +0000 (18:16 +0100)
committerHans de Goede <hdegoede@redhat.com>
Sat, 14 Nov 2020 21:21:53 +0000 (22:21 +0100)
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

hwdb.d/60-keyboard.hwdb

index 87e6c4e2cb5931638c24283b541e392ee5a66830..670442b7c0d3a071af6dfe7a42bdc7e20282ba7a 100644 (file)
@@ -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*