diff options
author | Simon Wood <simon@mungewell.org> | 2015-11-20 02:42:14 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2015-11-20 12:30:00 +0300 |
commit | b466c1dd73d5303a313fb0c962e4eb5879bc1336 (patch) | |
tree | 215cd253e933751e75c532e7571bc62f6d0b3900 /drivers/hid/hid-input.c | |
parent | 7f4b49fef6ffb5021c01a915c21b3221fd521e81 (diff) | |
download | linux-b466c1dd73d5303a313fb0c962e4eb5879bc1336.tar.xz |
HID: Add vendor specific usage pages for Logitech G920
The Logitech G920 uses a couple of vendor specific usage pages,
which results in incorrect number of axis/buttons being detected.
This patch adds these pages to the 'ignore' list.
Reported-by: Elias Vanderstuyft <elias.vds@gmail.com>
Signed-off-by: Simon Wood <simon@mungewell.org>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-input.c')
-rw-r--r-- | drivers/hid/hid-input.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index 2ba6bf69b7d0..f4eeb6bcb9ac 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c @@ -960,6 +960,10 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel goto ignore; case HID_UP_LOGIVENDOR: + /* intentional fallback */ + case HID_UP_LOGIVENDOR2: + /* intentional fallback */ + case HID_UP_LOGIVENDOR3: goto ignore; case HID_UP_PID: |