]> 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, 10 Jul 2025 14:05:10 +0000 (16:05 +0200)
commit 22c69d786ef8fb789c61ca75492a272774221324 upstream.

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/joystick/xpad.c

index da5b14602a761dd7ee80d4abec800bd32449cda4..6d679e235af6cc45aab0b085978cdee734e4596c 100644 (file)
@@ -174,6 +174,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 },
@@ -515,6 +516,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 */