]> git.baikalelectronics.ru Git - kernel.git/commit
HID: corsair: Add driver Scimitar Pro RGB gaming mouse 1b1c:1b3e support to hid-corsair
authorOscar Campos <oscar.campos@member.fsf.org>
Mon, 6 Mar 2017 21:02:39 +0000 (21:02 +0000)
committerJiri Kosina <jkosina@suse.cz>
Tue, 21 Mar 2017 13:46:15 +0000 (14:46 +0100)
commit4fcf80d921e1d71d75e5fbefb1bdd6195cca52eb
treee1159d7b28fc88b9256a77848c46fdd38aed45a5
parent33008c233193d9480c5e1d6d83ef62a6ab9408ee
HID: corsair: Add driver Scimitar Pro RGB gaming mouse 1b1c:1b3e support to hid-corsair

This mouse sold by Corsair as Scimitar PRO RGB defines two consecutive
Logical Minimum items in its Application (Consumer.0001) report making
it non parseable. This patch fixes the report descriptor overriding
byte 77 in rdesc from 0x16 (Logical Minimum with 16 bits value) to 0x26
(Logical Maximum with 16 bits value).

Signed-off-by: Oscar Campos <oscar.campos@member.fsf.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/hid-core.c
drivers/hid/hid-corsair.c