]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add key mappings for Logitech S510 keyboard and remote control 12546/head
authorHans de Goede <hdegoede@redhat.com>
Sun, 12 May 2019 10:25:39 +0000 (12:25 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sun, 12 May 2019 10:30:22 +0000 (12:30 +0200)
The S510 keyboard and S510 remote control both have 1 key where the markings
on the key dop not match with the generic Logitech 27MHz keymap.

This commit adds device specific overrides for this.

hwdb/60-keyboard.hwdb

index def9acef99a82658e9907d175b2d78b35bce622d..62957d27250712a5007ea7ddf2bcbe93befb0b57 100644 (file)
@@ -919,6 +919,10 @@ evdev:input:b0003v046Dp0045*
  KEYBOARD_KEY_c104b=images
  KEYBOARD_KEY_c104c=audio
 
+# S510 keyboard (27 MHz, modelnumber Y-RAK73)
+evdev:input:b0003v046Dp0056*
+ KEYBOARD_KEY_c1041=battery      # Battery icon (Fn + F1)
+
 # MX3000 keyboard (27 MHz, modelnumber Y-RAM74)
 # We ignore the scroll up / down keypress events since these buttons also
 # generate scroll-wheel events and we do not want to generate duplicate events
@@ -968,6 +972,10 @@ evdev:input:b0003v046Dp0066*
  KEYBOARD_KEY_c1048=config          # Window with gear icon (Fn + F8)
  KEYBOARD_KEY_c106f=battery         # Battery icon
 
+# S510 remote control (27 MHz)
+evdev:input:b0003v046Dp00FE*
+ KEYBOARD_KEY_c1018=media           # Media button
+
 # MX5000 keyboard (HID proxy mode and bluetooth matches)
 # The 4 buttons below the LCD send codes 0xc100c - 0xc100f. They only send
 # these codes when the LCD is displaying text send to it. These codes are