diff mbox series

input: xpad: add support for 8BitDo Ultimate 2C Wireless Controller

Message ID 20241015-8bitdo_2c_ultimate_wireless-v1-1-9c9f9db2e995@pengutronix.de (mailing list archive)
State New
Headers show
Series input: xpad: add support for 8BitDo Ultimate 2C Wireless Controller | expand

Commit Message

Stefan Kerkmann Oct. 15, 2024, 8 a.m. UTC
This XBOX360 compatible gamepad uses the new product id 0x310a under the
8BitDo's vendor id 0x2dc8. The change was tested using the gamepad in a
wired and wireless dongle configuration.

Signed-off-by: Stefan Kerkmann <s.kerkmann@pengutronix.de>
---
 drivers/input/joystick/xpad.c | 1 +
 1 file changed, 1 insertion(+)


---
base-commit: eca631b8fe808748d7585059c4307005ca5c5820
change-id: 20241015-8bitdo_2c_ultimate_wireless-b334fd476e50

Best regards,

Comments

Dmitry Torokhov Oct. 16, 2024, 7:39 p.m. UTC | #1
On Tue, Oct 15, 2024 at 10:00:30AM +0200, Stefan Kerkmann wrote:
> This XBOX360 compatible gamepad uses the new product id 0x310a under the
> 8BitDo's vendor id 0x2dc8. The change was tested using the gamepad in a
> wired and wireless dongle configuration.
> 
> Signed-off-by: Stefan Kerkmann <s.kerkmann@pengutronix.de>

Applied, thank you.
diff mbox series

Patch

diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
index 4eda18f4f46e3..30b4cca8b69fb 100644
--- a/drivers/input/joystick/xpad.c
+++ b/drivers/input/joystick/xpad.c
@@ -373,6 +373,7 @@  static const struct xpad_device {
 	{ 0x294b, 0x3404, "Snakebyte GAMEPAD RGB X", 0, XTYPE_XBOXONE },
 	{ 0x2dc8, 0x2000, "8BitDo Pro 2 Wired Controller fox Xbox", 0, XTYPE_XBOXONE },
 	{ 0x2dc8, 0x3106, "8BitDo Pro 2 Wired Controller", 0, XTYPE_XBOX360 },
+	{ 0x2dc8, 0x310a, "8BitDo Ultimate 2C Wireless Controller", 0, XTYPE_XBOX360 },
 	{ 0x2e24, 0x0652, "Hyperkin Duke X-Box One pad", 0, XTYPE_XBOXONE },
 	{ 0x31e3, 0x1100, "Wooting One", 0, XTYPE_XBOX360 },
 	{ 0x31e3, 0x1200, "Wooting Two", 0, XTYPE_XBOX360 },