Skip to content

Commit 0d9363a

Browse files
Headcrabeddtor
authored andcommitted
Input: xpad - add support for BETOP BTP-KP50B/C controller's wireless mode
BETOP's BTP-KP50B and BTP-KP50C controller's wireless dongles are both working as standard Xbox 360 controllers. Add USB device IDs for them to xpad driver. Signed-off-by: Shengyu Qu <[email protected]> Link: https://patch.msgid.link/TY4PR01MB14432B4B298EA186E5F86C46B9855A@TY4PR01MB14432.jpnprd01.prod.outlook.com Cc: [email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent e2b0ae5 commit 0d9363a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

drivers/input/joystick/xpad.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,8 @@ static const struct xpad_device {
362362
{ 0x1bad, 0xfd00, "Razer Onza TE", 0, XTYPE_XBOX360 },
363363
{ 0x1bad, 0xfd01, "Razer Onza", 0, XTYPE_XBOX360 },
364364
{ 0x1ee9, 0x1590, "ZOTAC Gaming Zone", 0, XTYPE_XBOX360 },
365+
{ 0x20bc, 0x5134, "BETOP BTP-KP50B Xinput Dongle", 0, XTYPE_XBOX360 },
366+
{ 0x20bc, 0x514a, "BETOP BTP-KP50C Xinput Dongle", 0, XTYPE_XBOX360 },
365367
{ 0x20d6, 0x2001, "BDA Xbox Series X Wired Controller", 0, XTYPE_XBOXONE },
366368
{ 0x20d6, 0x2009, "PowerA Enhanced Wired Controller for Xbox Series X|S", 0, XTYPE_XBOXONE },
367369
{ 0x20d6, 0x2064, "PowerA Wired Controller for Xbox", MAP_SHARE_BUTTON, XTYPE_XBOXONE },
@@ -564,6 +566,7 @@ static const struct usb_device_id xpad_table[] = {
564566
XPAD_XBOX360_VENDOR(0x1a86), /* Nanjing Qinheng Microelectronics (WCH) */
565567
XPAD_XBOX360_VENDOR(0x1bad), /* Harmonix Rock Band guitar and drums */
566568
XPAD_XBOX360_VENDOR(0x1ee9), /* ZOTAC Technology Limited */
569+
XPAD_XBOX360_VENDOR(0x20bc), /* BETOP wireless dongles */
567570
XPAD_XBOX360_VENDOR(0x20d6), /* PowerA controllers */
568571
XPAD_XBOXONE_VENDOR(0x20d6), /* PowerA controllers */
569572
XPAD_XBOX360_VENDOR(0x2345), /* Machenike Controllers */

0 commit comments

Comments
 (0)