Re: [PATCH v2 1/2] Input: xpad - query MS OS descriptor for BTP-KP20D
Pengyu Ma <[email protected]> Mon, 3 Aug 2026 20:13:39 +0800
| Newsgroups | org.kernel.vger.linux-input,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CALSz7m0x_sgJU_A3dnM59vefSwvu_XC2QT7WdHJhVx6ZszKCzA@mail.gmail.com> |
On Mon, Aug 3, 2026 at 5:40 PM Shengyu Qu <[email protected]> wrote: > > > > 在 2026/8/1 15:56, Aaron Ma 写道: > > > @@ -334,6 +335,7 @@ static const struct xpad_device { > > { 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 }, > > + { 0x20bc, 0x5159, "Beitong BTP-KP20D Controller", 0, XTYPE_XBOX360, FLAG_MS_OS_DESC }, > > I think using dongle instead of controller is more clear? Since > controller itself use a different VID. > This is the controller VID. The controller is idVendor=20bc The dongle ID is idVendor=20dd. Aaron > > { 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 },