Skip to content

Commit

Permalink
hwdb: Add key mappings for Logitech S510 keyboard and remote control
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jwrdegoede authored and Eric DeVolder committed Jun 26, 2019
1 parent 4d925b9 commit a58f48a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hwdb/60-keyboard.hwdb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a58f48a

Please sign in to comment.