]> git.baikalelectronics.ru Git - kernel.git/commit
HID: asus: Filter keyboard EC for old ROG keyboard
authorLuke D Jones <luke@ljones.dev>
Thu, 18 Feb 2021 21:38:46 +0000 (10:38 +1300)
committerJiri Kosina <jkosina@suse.cz>
Wed, 5 May 2021 12:22:38 +0000 (14:22 +0200)
commitfd876445c8dfc309997d606fb005014d28eeed1a
treef848af72afd4d2b5e92c0622e043a82980d0352e
parent33d4a3695ebb97cc7d60466e3a6ed70363e78ced
HID: asus: Filter keyboard EC for old ROG keyboard

Older ROG keyboards emit a similar stream of bytes to the new
N-Key keyboards and require filtering to prevent a lot of
unmapped key warnings showing. As all the ROG keyboards use
QUIRK_USE_KBD_BACKLIGHT this is now used to branch to filtering
in asus_raw_event.

Signed-off-by: Luke D Jones <luke@ljones.dev>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-asus.c