HID: asus: Add support for the ASUS FX503VD laptop
authorHans de Goede <hdegoede@redhat.com>
Mon, 26 Nov 2018 10:52:17 +0000 (11:52 +0100)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 30 Nov 2018 13:29:30 +0000 (14:29 +0100)
commit2340bad5d28e157c386cedf8d8a64ed6514e563f
treedbb4a0c4fcd7be98f5b19eec4bd69966af0152d2
parente98e38090f7ef4bf519d2b34e0d5128ed5bf8c79
HID: asus: Add support for the ASUS FX503VD laptop

The ASUS FX503VD laptop uses an USB keyboard with several hotkeys
which use the Asus Vendor specific UsagePage.

This uses two usage-codes within the page which have not been seen
before, 0x7c for its mic-mute hotkey and 0x99 for Fn+F5 which has
a "fan" symbol as hotkey symbol on the keyb. we map this to KEY_PROG4
(PROG1-PROG3 are already used).

This commit adds the mappings for the 2 new usage codes and the USB-ids
for this keyboard to the hid-asus driver.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-asus.c
drivers/hid/hid-ids.h