diff options
author | Aaron Bottegal <aaronbottegal@gmail.com> | 2017-12-22 09:38:14 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-02-16 13:38:16 +0100 |
commit | b9b7a86fc1cca26d8e4fb841dc127ceb985f85c5 (patch) | |
tree | acecd23c096693c316f9804598df13fa7bf8acb3 /drivers/hid | |
parent | HID: Fix hid_report_len usage (diff) | |
download | linux-b9b7a86fc1cca26d8e4fb841dc127ceb985f85c5.tar.xz linux-b9b7a86fc1cca26d8e4fb841dc127ceb985f85c5.zip |
HID: corsair: Add K70 Vengeance and K70 RAPIDFIRE to
K70 Vengeance sends garbage keypresses when changing backlight brightness.
This hooks to the existing corsair driver, which filters out those
invalid keypresses on similar devices in the input mapping code.
V2: Fix spelling.
Signed-off-by: Aaron Bottegal <aaronbottegal@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r-- | drivers/hid/hid-corsair.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/hid/hid-corsair.c b/drivers/hid/hid-corsair.c index 6c9c8fe1bcb2..ec9e060ec46c 100644 --- a/drivers/hid/hid-corsair.c +++ b/drivers/hid/hid-corsair.c @@ -2,11 +2,14 @@ * HID driver for Corsair devices * * Supported devices: + * - Vengeance K70 Keyboard + * - K70 RAPIDFIRE Keyboard * - Vengeance K90 Keyboard * - Scimitar PRO RGB Gaming Mouse * * Copyright (c) 2015 Clement Vuchener * Copyright (c) 2017 Oscar Campos + * Copyright (c) 2017 Aaron Bottegal */ /* @@ -721,6 +724,11 @@ static const struct hid_device_id corsair_devices[] = { USB_DEVICE_ID_CORSAIR_GLAIVE_RGB) }, { HID_USB_DEVICE(USB_VENDOR_ID_CORSAIR, USB_DEVICE_ID_CORSAIR_SCIMITAR_PRO_RGB) }, + /* + * Vengeance K70 and K70 RAPIDFIRE share product IDs. + */ + { HID_USB_DEVICE(USB_VENDOR_ID_CORSAIR, + USB_DEVICE_ID_CORSAIR_K70R) }, {} }; |