]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Input: xpad - add support for CRKD Guitars
authorSanjay Govind <sanjay.govind9@gmail.com>
Sat, 29 Nov 2025 07:37:11 +0000 (20:37 +1300)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 19 Dec 2025 05:50:07 +0000 (21:50 -0800)
Add support for various CRKD Guitar Controllers.

Signed-off-by: Sanjay Govind <sanjay.govind9@gmail.com>
Link: https://patch.msgid.link/20251129073720.2750-2-sanjay.govind9@gmail.com
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c

index d72e89c25e5031cb4b9636258aff44cbed263137..363d509493866ad9d832e41c8724f426bf7cc4e4 100644 (file)
@@ -133,6 +133,8 @@ static const struct xpad_device {
 } xpad_device[] = {
        /* Please keep this list sorted by vendor and product ID. */
        { 0x0079, 0x18d4, "GPD Win 2 X-Box Controller", 0, XTYPE_XBOX360 },
+       { 0x0351, 0x1000, "CRKD LP Blueberry Burst Pro Edition (Xbox)", 0, XTYPE_XBOX360 },
+       { 0x0351, 0x2000, "CRKD LP Black Tribal Edition (Xbox) ", 0, XTYPE_XBOX360 },
        { 0x03eb, 0xff01, "Wooting One (Legacy)", 0, XTYPE_XBOX360 },
        { 0x03eb, 0xff02, "Wooting Two (Legacy)", 0, XTYPE_XBOX360 },
        { 0x03f0, 0x038D, "HyperX Clutch", 0, XTYPE_XBOX360 },                  /* wired */
@@ -420,6 +422,7 @@ static const struct xpad_device {
        { 0x3285, 0x0663, "Nacon Evol-X", 0, XTYPE_XBOXONE },
        { 0x3537, 0x1004, "GameSir T4 Kaleid", 0, XTYPE_XBOX360 },
        { 0x3537, 0x1010, "GameSir G7 SE", 0, XTYPE_XBOXONE },
+       { 0x3651, 0x1000, "CRKD SG", 0, XTYPE_XBOX360 },
        { 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 },
@@ -518,6 +521,7 @@ static const struct usb_device_id xpad_table[] = {
         */
        { USB_INTERFACE_INFO('X', 'B', 0) },    /* Xbox USB-IF not-approved class */
        XPAD_XBOX360_VENDOR(0x0079),            /* GPD Win 2 controller */
+       XPAD_XBOX360_VENDOR(0x0351),            /* CRKD Controllers */
        XPAD_XBOX360_VENDOR(0x03eb),            /* Wooting Keyboards (Legacy) */
        XPAD_XBOX360_VENDOR(0x03f0),            /* HP HyperX Xbox 360 controllers */
        XPAD_XBOXONE_VENDOR(0x03f0),            /* HP HyperX Xbox One controllers */
@@ -578,6 +582,7 @@ static const struct usb_device_id xpad_table[] = {
        XPAD_XBOXONE_VENDOR(0x3285),            /* Nacon Evol-X */
        XPAD_XBOX360_VENDOR(0x3537),            /* GameSir Controllers */
        XPAD_XBOXONE_VENDOR(0x3537),            /* GameSir Controllers */
+       XPAD_XBOX360_VENDOR(0x3651),            /* CRKD Controllers */
        XPAD_XBOXONE_VENDOR(0x366c),            /* ByoWave controllers */
        XPAD_XBOX360_VENDOR(0x37d7),            /* Flydigi Controllers */
        XPAD_XBOX360_VENDOR(0x413d),            /* Black Shark Green Ghost Controller */