mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Input: xpad - add support for Corsair Novablade Pro
@ 2026-10-09 14:47 Krzysztof Furman via B4 Relay
  2026-10-09 19:16 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Furman via B4 Relay @ 2026-10-09 14:47 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input, linux-kernel, Krzysztof Furman

From: Krzysztof Furman <krisfur@proton.me>

Add device IDs for the Corsair Novablade Pro leverless fight controller
in both wired (0x2b1f) and 2.4 GHz receiver (0x2b2b) modes, and add
Corsair's vendor ID to the Xbox 360 vendor match list.

Outside of its PS4/PS5 modes the controller uses the Xbox 360 protocol
(vendor-specific class, subclass 93, protocol 1) on interface 0, which
xpad does not currently bind, so no gamepad device is created. The
PS4/PS5 modes present a standard HID gamepad and already work with
hid-generic.

Tested on 7.2.5 with the 2.4 GHz receiver and wired.

Assisted-by: Claude Opus 5.5
Signed-off-by: Krzysztof Furman <krisfur@proton.me>
---
The PS5 mode (0x2b27) presents a plain HID gamepad and needs no xpad
change, so it is not included.
---
 drivers/input/joystick/xpad.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
index feb8f368f..51f889389 100644
--- a/drivers/input/joystick/xpad.c
+++ b/drivers/input/joystick/xpad.c
@@ -295,6 +295,8 @@ static const struct xpad_device {
 	{ 0x17ef, 0x6182, "Lenovo Legion Controller for Windows", 0, XTYPE_XBOX360 },
 	{ 0x1949, 0x041a, "Amazon Game Controller", 0, XTYPE_XBOX360 },
 	{ 0x1a86, 0xe310, "Legion Go S", 0, XTYPE_XBOX360 },
+	{ 0x1b1c, 0x2b1f, "Corsair Novablade Pro (Wired)", 0, XTYPE_XBOX360 },
+	{ 0x1b1c, 0x2b2b, "Corsair Novablade Pro (2.4 GHz Receiver)", 0, XTYPE_XBOX360 },
 	{ 0x1bad, 0x0002, "Harmonix Rock Band Guitar", 0, XTYPE_XBOX360 },
 	{ 0x1bad, 0x0003, "Harmonix Rock Band Drumkit", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
 	{ 0x1bad, 0x0130, "Ion Drum Rocker", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
@@ -536,6 +538,7 @@ static const struct usb_device_id xpad_table[] = {
 	XPAD_XBOX360_VENDOR(0x17ef),		/* Lenovo */
 	XPAD_XBOX360_VENDOR(0x1949),		/* Amazon controllers */
 	XPAD_XBOX360_VENDOR(0x1a86),		/* Nanjing Qinheng Microelectronics (WCH) */
+	XPAD_XBOX360_VENDOR(0x1b1c),		/* Corsair controllers */
 	XPAD_XBOX360_VENDOR(0x1bad),		/* Harmonix Rock Band guitar and drums */
 	XPAD_XBOX360_VENDOR(0x1ee9),		/* ZOTAC Technology Limited */
 	XPAD_XBOX360_VENDOR(0x20bc),		/* BETOP wireless dongles */

---
base-commit: 1a3ba2dc2b91d50201a9d4721f166e68f4903eb6
change-id: 20261009-xpad-corsair-novablade-32a27172a967

Best regards,
--  
Krzysztof Furman <krisfur@proton.me>



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Input: xpad - add support for Corsair Novablade Pro
  2026-10-09 14:47 [PATCH] Input: xpad - add support for Corsair Novablade Pro Krzysztof Furman via B4 Relay
@ 2026-10-09 19:16 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2026-10-09 19:16 UTC (permalink / raw)
  To: krisfur; +Cc: linux-input, linux-kernel

On Fri, Oct 09, 2026 at 03:47:10PM +0100, Krzysztof Furman via B4 Relay wrote:
> From: Krzysztof Furman <krisfur@proton.me>
> 
> Add device IDs for the Corsair Novablade Pro leverless fight controller
> in both wired (0x2b1f) and 2.4 GHz receiver (0x2b2b) modes, and add
> Corsair's vendor ID to the Xbox 360 vendor match list.
> 
> Outside of its PS4/PS5 modes the controller uses the Xbox 360 protocol
> (vendor-specific class, subclass 93, protocol 1) on interface 0, which
> xpad does not currently bind, so no gamepad device is created. The
> PS4/PS5 modes present a standard HID gamepad and already work with
> hid-generic.
> 
> Tested on 7.2.5 with the 2.4 GHz receiver and wired.
> 
> Assisted-by: Claude Opus 5.5
> Signed-off-by: Krzysztof Furman <krisfur@proton.me>

Applied, thank you.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-09 19:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-09 14:47 [PATCH] Input: xpad - add support for Corsair Novablade Pro Krzysztof Furman via B4 Relay
2026-10-09 19:16 ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®