]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Input: xpad - add support for Nacon Pro Compact
authorNicolas Nobelis <nicolas@nobelis.eu>
Sat, 16 Nov 2024 18:24:19 +0000 (19:24 +0100)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 27 Nov 2024 20:09:00 +0000 (12:09 -0800)
Add Nacon Pro Compact to the list of supported devices. These are the
ids of the "Colorlight" variant. The buttons, sticks and vibrations
work. The decorative LEDs on the other hand do not (they stay turned
off).

Signed-off-by: Nicolas Nobelis <nicolas@nobelis.eu>
Link: https://lore.kernel.org/r/20241116182419.33833-1-nicolas@nobelis.eu
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c

index ff9bc87f2f709211d1cc46793e79ef09c4a75033..2f2500ade166856b3dbdff48ff362eaceca82169 100644 (file)
@@ -383,6 +383,7 @@ static const struct xpad_device {
        { 0x31e3, 0x1300, "Wooting 60HE (AVR)", 0, XTYPE_XBOX360 },
        { 0x31e3, 0x1310, "Wooting 60HE (ARM)", 0, XTYPE_XBOX360 },
        { 0x3285, 0x0607, "Nacon GC-100", 0, XTYPE_XBOX360 },
+       { 0x3285, 0x0646, "Nacon Pro Compact", 0, XTYPE_XBOXONE },
        { 0x3537, 0x1004, "GameSir T4 Kaleid", 0, XTYPE_XBOX360 },
        { 0x3767, 0x0101, "Fanatec Speedster 3 Forceshock Wheel", 0, XTYPE_XBOX },
        { 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX },