Skip to contentSkip to conversation

HID: corsair: Add K70 Vengeance and K70 RAPIDFIRE to

PATCH Applied Aaron Bottegal 2 participants 2 messages Dec 22, 2017 – Feb 16, 2018 HID

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 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.

---
 drivers/hid/hid-corsair.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/hid/hid-corsair.c +8 -0
index 9ba5d98a1180..7aa73c758a64 100644
@@ -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
  */
 
 /*
@@ -717,6 +720,11 @@ static const struct hid_device_id corsair_devices[] = {
 			       CORSAIR_USE_K90_BACKLIGHT },
 	{ 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) },
 	{}
 };
 
Signature · 1 line
2.15.1
maintainer Applied
#1 lore raw
Quoted 3 lines · Aaron Bottegal

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.

Applied to for-4.16/upstream-fixes.

Signature · 2 lines
Jiri Kosina
SUSE Labs