mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shengyu Qu <wiagn233@outlook.com>
To: dmitry.torokhov@gmail.com, vi@endrift.com, lkml@antheas.dev,
	niltonperimneto@gmail.com, linux-input@vger.kernel.org,
	linux-kernel@vger.kernel.org
Cc: wiagn233@outlook.com
Subject: Re: [PATCH v1] input: xpad: Add support for BETOP BTP-KP50B/C controller's wireless mode
Date: Sat, 7 Feb 2026 12:57:02 +0800	[thread overview]
Message-ID: <TY4PR01MB144320C2F5B24AEA833ECFB2E9867A@TY4PR01MB14432.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <TY4PR01MB1443218CD6B7089D3DBF893989899A@TY4PR01MB14432.jpnprd01.prod.outlook.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 2262 bytes --]

Update on commit info: seems these controllers support Xbox mode when 
using wired mode, however, their firmware has some weird enumeration 
logic that won't work with current xpad driver(It would enum as xbox 
first if no driver is loaded, then disconnect and re-enum as NS 
controller, finally something else), and by default wired mode would end 
with nintendo driver.

在 2026/2/5 22:15, Shengyu Qu 写道:
> 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.
> 
> Both controllers can't work as Xbox controllers when using wired mode and
> have different USB IDs.
> 
> Signed-off-by: Shengyu Qu <wiagn233@outlook.com>
> ---
>   drivers/input/joystick/xpad.c | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
> index 363d50949386..260dd41ea6e5 100644
> --- a/drivers/input/joystick/xpad.c
> +++ b/drivers/input/joystick/xpad.c
> @@ -360,6 +360,8 @@ static const struct xpad_device {
>   	{ 0x1bad, 0xfd00, "Razer Onza TE", 0, XTYPE_XBOX360 },
>   	{ 0x1bad, 0xfd01, "Razer Onza", 0, XTYPE_XBOX360 },
>   	{ 0x1ee9, 0x1590, "ZOTAC Gaming Zone", 0, XTYPE_XBOX360 },
> +	{ 0x20bc, 0x5134, "BETOP BTP-KP50B Xinput Dongle", 0, XTYPE_XBOX360 },
> +	{ 0x20bc, 0x514a, "BETOP BTP-KP50C Xinput Dongle", 0, XTYPE_XBOX360 },
>   	{ 0x20d6, 0x2001, "BDA Xbox Series X Wired Controller", 0, XTYPE_XBOXONE },
>   	{ 0x20d6, 0x2009, "PowerA Enhanced Wired Controller for Xbox Series X|S", 0, XTYPE_XBOXONE },
>   	{ 0x20d6, 0x2064, "PowerA Wired Controller for Xbox", MAP_SHARE_BUTTON, XTYPE_XBOXONE },
> @@ -562,6 +564,7 @@ static const struct usb_device_id xpad_table[] = {
>   	XPAD_XBOX360_VENDOR(0x1a86),		/* Nanjing Qinheng Microelectronics (WCH) */
>   	XPAD_XBOX360_VENDOR(0x1bad),		/* Harmonix Rock Band guitar and drums */
>   	XPAD_XBOX360_VENDOR(0x1ee9),		/* ZOTAC Technology Limited */
> +	XPAD_XBOX360_VENDOR(0x20bc),		/* BETOP wireless dongles */
>   	XPAD_XBOX360_VENDOR(0x20d6),		/* PowerA controllers */
>   	XPAD_XBOXONE_VENDOR(0x20d6),		/* PowerA controllers */
>   	XPAD_XBOX360_VENDOR(0x2345),		/* Machenike Controllers */


[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 6977 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

  reply	other threads:[~2026-02-07  4:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-05 14:15 Shengyu Qu
2026-02-07  4:57 ` Shengyu Qu [this message]
2026-02-07 12:00   ` Antheas Kapenekakis
2026-02-10  5:53     ` [PATCH v1] input: xpad: Add support for BETOP BTP-KP50B/C, " liushuyu
2026-02-11  6:53       ` Shengyu Qu
2026-03-17 19:38 ` [PATCH v1] input: xpad: Add support for BETOP BTP-KP50B/C " Shengyu Qu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=TY4PR01MB144320C2F5B24AEA833ECFB2E9867A@TY4PR01MB14432.jpnprd01.prod.outlook.com \
    --to=wiagn233@outlook.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@antheas.dev \
    --cc=niltonperimneto@gmail.com \
    --cc=vi@endrift.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®