]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Input: xpad - add support for Flydigi Apex 5
authorAntheas Kapenekakis <lkml@antheas.dev>
Wed, 3 Sep 2025 16:51:14 +0000 (18:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2025 14:37:34 +0000 (16:37 +0200)
commit 47ddf62b43eced739b56422cd55e86b9b4bb7dac upstream.

Add Flydigi Apex 5 to the list of recognized controllers.

Reported-by: Brandon Lin <brandon@emergence.ltd>
Reported-by: Sergey Belozyorcev <belozyorcev@ya.ru>
Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>
Link: https://lore.kernel.org/r/20250903165114.2987905-1-lkml@antheas.dev
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 1d8c579b54331e9be970771058782776f45f6fe5..4ee9e403d385012335c0e55b1ce0b0112d629853 100644 (file)
@@ -422,6 +422,7 @@ static const struct xpad_device {
        { 0x3537, 0x1010, "GameSir G7 SE", 0, XTYPE_XBOXONE },
        { 0x366c, 0x0005, "ByoWave Proteus Controller", MAP_SHARE_BUTTON, XTYPE_XBOXONE, FLAG_DELAY_INIT },
        { 0x3767, 0x0101, "Fanatec Speedster 3 Forceshock Wheel", 0, XTYPE_XBOX },
+       { 0x37d7, 0x2501, "Flydigi Apex 5", 0, XTYPE_XBOX360 },
        { 0x413d, 0x2104, "Black Shark Green Ghost Gamepad", 0, XTYPE_XBOX360 },
        { 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX },
        { 0x0000, 0x0000, "Generic X-Box pad", 0, XTYPE_UNKNOWN }
@@ -578,6 +579,7 @@ static const struct usb_device_id xpad_table[] = {
        XPAD_XBOX360_VENDOR(0x3537),            /* GameSir Controllers */
        XPAD_XBOXONE_VENDOR(0x3537),            /* GameSir Controllers */
        XPAD_XBOXONE_VENDOR(0x366c),            /* ByoWave controllers */
+       XPAD_XBOX360_VENDOR(0x37d7),            /* Flydigi Controllers */
        XPAD_XBOX360_VENDOR(0x413d),            /* Black Shark Green Ghost Controller */
        { }
 };