summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorNicolas Nobelis <nicolas@nobelis.eu>2024-11-16 19:24:19 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-01 18:39:39 +0100
commit5c92458f72e3ac599a4745a7c52fff6122ec63bb (patch)
treefbf0a5c9e93a4dc6a050834ee531dcd4656d4263 /drivers/input
parent5f5e6cbc4f5e5888c4b5ef22c9d5adc361fcc66f (diff)
downloadlinux-5c92458f72e3ac599a4745a7c52fff6122ec63bb.tar.gz
linux-5c92458f72e3ac599a4745a7c52fff6122ec63bb.tar.bz2
linux-5c92458f72e3ac599a4745a7c52fff6122ec63bb.zip
Input: xpad - add support for Nacon Pro Compact
commit 1bba29603a2812e7b3dbb4ec1558ecb626ee933e upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/joystick/xpad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
index 22ea58bf76cb..1064d4079828 100644
--- a/drivers/input/joystick/xpad.c
+++ b/drivers/input/joystick/xpad.c
@@ -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 },