Skip to content

Commit 21617de

Browse files
Radon86222dtor
authored andcommitted
Input: xpad - add 8BitDo Pro 2 Wired Controller support
Add VID and PID to the xpad_device table to allow driver to use the 8BitDo Pro 2 Wired Controller, which is XTYPE_XBOX360 compatible by default. Signed-off-by: John Butler <radon86dev@gmail.com> Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Link: https://lore.kernel.org/r/20230124005206.80706-1-radon86dev@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent ac8810d commit 21617de

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/input/joystick/xpad.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ static const struct xpad_device {
359359
{ 0x24c6, 0xfafe, "Rock Candy Gamepad for Xbox 360", 0, XTYPE_XBOX360 },
360360
{ 0x2563, 0x058d, "OneXPlayer Gamepad", 0, XTYPE_XBOX360 },
361361
{ 0x2dc8, 0x2000, "8BitDo Pro 2 Wired Controller fox Xbox", 0, XTYPE_XBOXONE },
362+
{ 0x2dc8, 0x3106, "8BitDo Pro 2 Wired Controller", 0, XTYPE_XBOX360 },
362363
{ 0x31e3, 0x1100, "Wooting One", 0, XTYPE_XBOX360 },
363364
{ 0x31e3, 0x1200, "Wooting Two", 0, XTYPE_XBOX360 },
364365
{ 0x31e3, 0x1210, "Wooting Lekker", 0, XTYPE_XBOX360 },
@@ -492,6 +493,7 @@ static const struct usb_device_id xpad_table[] = {
492493
XPAD_XBOXONE_VENDOR(0x24c6), /* PowerA Controllers */
493494
XPAD_XBOX360_VENDOR(0x2563), /* OneXPlayer Gamepad */
494495
XPAD_XBOX360_VENDOR(0x260d), /* Dareu H101 */
496+
XPAD_XBOX360_VENDOR(0x2dc8), /* 8BitDo Pro 2 Wired Controller */
495497
XPAD_XBOXONE_VENDOR(0x2dc8), /* 8BitDo Pro 2 Wired Controller for Xbox */
496498
XPAD_XBOXONE_VENDOR(0x2e24), /* Hyperkin Duke X-Box One pad */
497499
XPAD_XBOX360_VENDOR(0x2f24), /* GameSir Controllers */

0 commit comments

Comments
 (0)