Message ID | 20250107192830.414709-12-rojtberg@gmail.com |
---|---|
State | New |
Headers | show |
Series | Input: xpad - sync with github fork | expand |
On Tue, Jan 07, 2025 at 08:28:30PM +0100, Pavel Rojtberg wrote: > From: Nilton Perim Neto <niltonperimneto@gmail.com> > > Although it mimics the Microsoft's VendorID, it is in fact a clone. > Taking into account that the original Microsoft Receiver is not being > manufactured anymore, this drive can solve dpad issues encontered by > those who still use the original 360 Wireless controller > but are using a receiver clone. > > Signed-off-by: Nilton Perim Neto <niltonperimneto@gmail.com> > Signed-off-by: Pavel Rojtberg <rojtberg@gmail.com> Applied since I saw message from Nilton acknowledging SOB. Thank you! > --- > drivers/input/joystick/xpad.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c > index 647c788ec5d1..b0780dfc558b 100644 > --- a/drivers/input/joystick/xpad.c > +++ b/drivers/input/joystick/xpad.c > @@ -151,6 +151,7 @@ static const struct xpad_device { > { 0x045e, 0x028e, "Microsoft X-Box 360 pad", 0, XTYPE_XBOX360 }, > { 0x045e, 0x028f, "Microsoft X-Box 360 pad v2", 0, XTYPE_XBOX360 }, > { 0x045e, 0x0291, "Xbox 360 Wireless Receiver (XBOX)", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360W }, > + { 0x045e, 0x02a9, "Xbox 360 Wireless Receiver (Unofficial)", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360W }, > { 0x045e, 0x02d1, "Microsoft X-Box One pad", 0, XTYPE_XBOXONE }, > { 0x045e, 0x02dd, "Microsoft X-Box One pad (Firmware 2015)", 0, XTYPE_XBOXONE }, > { 0x045e, 0x02e3, "Microsoft X-Box One Elite pad", MAP_PADDLES, XTYPE_XBOXONE }, > -- > 2.43.0 >
diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index 647c788ec5d1..b0780dfc558b 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -151,6 +151,7 @@ static const struct xpad_device { { 0x045e, 0x028e, "Microsoft X-Box 360 pad", 0, XTYPE_XBOX360 }, { 0x045e, 0x028f, "Microsoft X-Box 360 pad v2", 0, XTYPE_XBOX360 }, { 0x045e, 0x0291, "Xbox 360 Wireless Receiver (XBOX)", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360W }, + { 0x045e, 0x02a9, "Xbox 360 Wireless Receiver (Unofficial)", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360W }, { 0x045e, 0x02d1, "Microsoft X-Box One pad", 0, XTYPE_XBOXONE }, { 0x045e, 0x02dd, "Microsoft X-Box One pad (Firmware 2015)", 0, XTYPE_XBOXONE }, { 0x045e, 0x02e3, "Microsoft X-Box One Elite pad", MAP_PADDLES, XTYPE_XBOXONE },