Commit b9b7a86f authored by Aaron Bottegal's avatar Aaron Bottegal Committed by Jiri Kosina

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: default avatarAaron Bottegal <aaronbottegal@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 3064a03b
...@@ -2,11 +2,14 @@ ...@@ -2,11 +2,14 @@
* HID driver for Corsair devices * HID driver for Corsair devices
* *
* Supported devices: * Supported devices:
* - Vengeance K70 Keyboard
* - K70 RAPIDFIRE Keyboard
* - Vengeance K90 Keyboard * - Vengeance K90 Keyboard
* - Scimitar PRO RGB Gaming Mouse * - Scimitar PRO RGB Gaming Mouse
* *
* Copyright (c) 2015 Clement Vuchener * Copyright (c) 2015 Clement Vuchener
* Copyright (c) 2017 Oscar Campos * Copyright (c) 2017 Oscar Campos
* Copyright (c) 2017 Aaron Bottegal
*/ */
/* /*
...@@ -721,6 +724,11 @@ static const struct hid_device_id corsair_devices[] = { ...@@ -721,6 +724,11 @@ static const struct hid_device_id corsair_devices[] = {
USB_DEVICE_ID_CORSAIR_GLAIVE_RGB) }, USB_DEVICE_ID_CORSAIR_GLAIVE_RGB) },
{ HID_USB_DEVICE(USB_VENDOR_ID_CORSAIR, { HID_USB_DEVICE(USB_VENDOR_ID_CORSAIR,
USB_DEVICE_ID_CORSAIR_SCIMITAR_PRO_RGB) }, 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) },
{} {}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment