]> git.baikalelectronics.ru Git - kernel.git/commit
HID: corsair: fix mapping of non-keyboard usages
authorClément Vuchener <clement.vuchener@gmail.com>
Tue, 16 Feb 2016 17:38:24 +0000 (18:38 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 23 Feb 2016 13:21:19 +0000 (14:21 +0100)
commit06993db957973d76dc3347e3dcc368eae888c806
treede4fa05b4632bc8c2758daeddfa8e0eefce3cb9b
parent220f64d78657374b62028e108913519dc3c6fe29
HID: corsair: fix mapping of non-keyboard usages

This fixes a bug where the Volume Up key was ignored because it uses the same usage code as G18. Special Corsair usage codes are in the keyboard page, other pages should be left to the generic driver.

Signed-off-by: Clément Vuchener <clement.vuchener@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-corsair.c