From 0c4478b12270e5ac7bbae4ad43e9c965312b28ec Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Sun, 12 May 2019 12:25:39 +0200 Subject: [PATCH] hwdb: Add key mappings for Logitech S510 keyboard and remote control 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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hwdb/60-keyboard.hwdb b/hwdb/60-keyboard.hwdb index def9acef99a..62957d27250 100644 --- a/hwdb/60-keyboard.hwdb +++ b/hwdb/60-keyboard.hwdb @@ -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 -- 2.39.2