]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add key mappings for Logitech 27 MHz "Cordless Access Keyboard"
authorHans de Goede <hdegoede@redhat.com>
Fri, 22 Mar 2019 21:10:32 +0000 (22:10 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 29 Apr 2019 15:29:08 +0000 (17:29 +0200)
The upcoming kernel enumerates Logitech 27 MHz wireless keyboards and
mice by there wireless-PID, rather then using the PID of the receiver
which is the same for all 27MHz Logitech devices.

This allows us to add per model keymappings for the special keys on these
keyboards. This commit adds such mappings for the "Logitech Cordless
Access Keyboard" (modelnumber Y-RH35).

hwdb/60-keyboard.hwdb

index f55f2766cb5adbc257e62b2b7321824612b3b283..5c316863f3060b235d5fb612c215fcc34bef76ed 100644 (file)
@@ -873,6 +873,22 @@ evdev:input:b0003v046Dp00*
  KEYBOARD_KEY_c104b=prog3           # Smartkey C (Fn + F11) → XF86Launch3
  KEYBOARD_KEY_c104c=prog4           # Smartkey D (Fn + F12) → XF86Launch4
 
+# Cordless Access Keyboard (27 MHz, modelnumber Y-RH35)
+evdev:input:b0003v046Dp0042*
+ KEYBOARD_KEY_c1002=camera
+ KEYBOARD_KEY_c1041=new
+ KEYBOARD_KEY_c1042=reply
+ KEYBOARD_KEY_c1043=forward
+ KEYBOARD_KEY_c1044=send
+ KEYBOARD_KEY_c1045=previoussong
+ KEYBOARD_KEY_c1046=nextsong
+ KEYBOARD_KEY_c1047=playpause
+ KEYBOARD_KEY_c1048=stopcd
+ KEYBOARD_KEY_c1049=file
+ KEYBOARD_KEY_c104a=documents
+ KEYBOARD_KEY_c104b=images
+ KEYBOARD_KEY_c104c=audio
+
 # iTouch
 evdev:input:b0003v046DpC308*
  KEYBOARD_KEY_90001=shop                                # Shopping