Input: xpad - support Acer NGR 200 Controller
authorNilton Perim Neto <niltonperimneto@gmail.com>
Fri, 27 Jun 2025 23:29:40 +0000 (16:29 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 27 Jun 2025 23:34:40 +0000 (16:34 -0700)
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>
drivers/input/joystick/xpad.c

index e0374111d0174186a65efd647b41cba4c691af2e..5d9b7007a730886db9aee54a97830f256a16f42a 100644 (file)
@@ -177,6 +177,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 },
@@ -524,6 +525,7 @@ static const struct usb_device_id xpad_table[] = {
        XPAD_XBOX360_VENDOR(0x045e),            /* Microsoft Xbox 360 controllers */
        XPAD_XBOXONE_VENDOR(0x045e),            /* Microsoft Xbox One controllers */
        XPAD_XBOX360_VENDOR(0x046d),            /* Logitech Xbox 360-style controllers */
+       XPAD_XBOX360_VENDOR(0x0502),            /* Acer Inc. Xbox 360 style controllers */
        XPAD_XBOX360_VENDOR(0x056e),            /* Elecom JC-U3613M */
        XPAD_XBOX360_VENDOR(0x06a3),            /* Saitek P3600 */
        XPAD_XBOX360_VENDOR(0x0738),            /* Mad Catz Xbox 360 controllers */