]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Input: xpad - support Acer NGR 200 Controller
authorNilton Perim Neto <niltonperimneto@gmail.com>
Fri, 27 Jun 2025 23:29:40 +0000 (16:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jul 2025 16:30:51 +0000 (18:30 +0200)
[ Upstream commit 22c69d786ef8fb789c61ca75492a272774221324 ]

Add the NGR 200 Xbox 360 to the list of recognized controllers.

Signed-off-by: Nilton Perim Neto <niltonperimneto@gmail.com>
Link: https://lore.kernel.org/r/20250608060517.14967-1-niltonperimneto@gmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/joystick/xpad.c

index 98397c2c6bfacdc8ebf9b5649ec6e63f00d574f4..a5207d6a5ebea5fc73ed24c9c4053e5ae6c005b8 100644 (file)
@@ -149,6 +149,7 @@ static const struct xpad_device {
        { 0x05fd, 0x107a, "InterAct 'PowerPad Pro' X-Box pad (Germany)", 0, XTYPE_XBOX },
        { 0x05fe, 0x3030, "Chic Controller", 0, XTYPE_XBOX },
        { 0x05fe, 0x3031, "Chic Controller", 0, XTYPE_XBOX },
+       { 0x0502, 0x1305, "Acer NGR200", 0, XTYPE_XBOX },
        { 0x062a, 0x0020, "Logic3 Xbox GamePad", 0, XTYPE_XBOX },
        { 0x062a, 0x0033, "Competition Pro Steering Wheel", 0, XTYPE_XBOX },
        { 0x06a3, 0x0200, "Saitek Racing Wheel", 0, XTYPE_XBOX },
@@ -443,6 +444,7 @@ static const struct usb_device_id xpad_table[] = {
        XPAD_XBOX360_VENDOR(0x045e),            /* Microsoft X-Box 360 controllers */
        XPAD_XBOXONE_VENDOR(0x045e),            /* Microsoft X-Box One controllers */
        XPAD_XBOX360_VENDOR(0x046d),            /* Logitech X-Box 360 style controllers */
+       XPAD_XBOX360_VENDOR(0x0502),            /* Acer Inc. X-Box 360 style controllers */
        XPAD_XBOX360_VENDOR(0x056e),            /* Elecom JC-U3613M */
        XPAD_XBOX360_VENDOR(0x06a3),            /* Saitek P3600 */
        XPAD_XBOX360_VENDOR(0x0738),            /* Mad Catz X-Box 360 controllers */