On 11/13/21 05:27, Benjamin Valentin wrote: > This is needed to get the gamepad on the OneXPlayer handheld console to work. > > See https://github.com/paroj/xpad/issues/176 > > Signed-off-by: Ruineka <ruinairas1992@xxxxxxxxx> > Signed-off-by: Benjamin Valentin <benpicco@xxxxxxxxxxxxxx> > --- > drivers/input/joystick/xpad.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c > index 4c914f75a902..e51f3a2bf06b 100644 > --- a/drivers/input/joystick/xpad.c > +++ b/drivers/input/joystick/xpad.c > @@ -334,6 +334,7 @@ static const struct xpad_device { > { 0x24c6, 0x5b03, "Thrustmaster Ferrari 458 Racing Wheel", 0, XTYPE_XBOX360 }, > { 0x24c6, 0x5d04, "Razer Sabertooth", 0, XTYPE_XBOX360 }, > { 0x24c6, 0xfafe, "Rock Candy Gamepad for Xbox 360", 0, XTYPE_XBOX360 }, > + { 0x2563, 0x058d, "OneXPlayer Gamepad", 0, XTYPE_XBOX360 }, > { 0x3285, 0x0607, "Nacon GC-100", 0, XTYPE_XBOX360 }, > { 0x3767, 0x0101, "Fanatec Speedster 3 Forceshock Wheel", 0, XTYPE_XBOX }, > { 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX }, > @@ -450,6 +451,7 @@ static const struct usb_device_id xpad_table[] = { > XPAD_XBOXONE_VENDOR(0x20d6), /* PowerA Controllers */ > XPAD_XBOX360_VENDOR(0x24c6), /* PowerA Controllers */ > XPAD_XBOXONE_VENDOR(0x24c6), /* PowerA Controllers */ > + XPAD_XBOX360_VENDOR(0x2563), /* OneXPlayer Gamepad */ > XPAD_XBOXONE_VENDOR(0x2e24), /* Hyperkin Duke X-Box One pad */ > XPAD_XBOX360_VENDOR(0x2f24), /* GameSir Controllers */ > XPAD_XBOX360_VENDOR(0x3285), /* Nacon GC-100 */ > LGTM. Reviewed-by: Cameron Gutman <aicommander@xxxxxxxxx>