xpad: Add RedOctane Games vendor id
Subsystems (2)
PATCH 1/1 xpad: Add RedOctane Games vendor id
Add vendor ID for RedOctane Games to xpad
--- drivers/input/joystick/xpad.c | 1 + 1 file changed, 1 insertion(+)
drivers/input/joystick/xpad.c +1 -0
@@ -585,6 +585,7 @@ static const struct usb_device_id xpad_table[] = {XPAD_XBOX360_VENDOR (0x3651 ),/* CRKD Controllers */ XPAD_XBOXONE_VENDOR (0x366c ),/* ByoWave controllers */ XPAD_XBOX360_VENDOR (0x37d7 ),/* Flydigi Controllers */ +XPAD_XBOX360_VENDOR (0x3958 ),/* RedOctane Games Controllers */ XPAD_XBOX360_VENDOR(0x413d), /* Black Shark Green Ghost Controller */ { } };
Signature · 1 line
2.53.0
Dmitry Torokhov
maintainerQuoted 12 lines · Sanjay Govind
Add vendor ID for RedOctane Games to xpad
Signed-off-by Sanjay Govind <[email protected]>--- drivers/input/joystick/xpad.c | 1 + 1 file changed, 1 insertion(+)drivers/input/joystick/xpad.c +0
-0
drivers/input/joystick/xpad.c static const struct usb_device_id xpad_table[] = { · line 591
Quoted 7 lines
drivers/input/joystick/xpad.c +1
-0@@ -585,6 +585,7 @@ static const struct usb_device_id xpad_table[] = {XPAD_XBOX360_VENDOR (0x3651 ),/* CRKD Controllers */ XPAD_XBOXONE_VENDOR (0x366c ),/* ByoWave controllers */ XPAD_XBOX360_VENDOR (0x37d7 ),/* Flydigi Controllers */ +XPAD_XBOX360_VENDOR (0x3958 ),/* RedOctane Games Controllers */ XPAD_XBOX360_VENDOR(0x413d), /* Black Shark Green Ghost Controller */ { } };
Don't we also need to add some entries to the xpad_device table?
Thanks.
Signature · 1 line
Dmitry
Quoted 1 line · Dmitry Torokhov
Don't we also need to add some entries to the
xpad_devicetable?
It's not strictly necessary, xpad will pick the devices up with just the vendor id, since they have the correct class, subclass and protocol needed for matching, you only really need to put them into xpad_device if you want to customize the name or give it different flags, and that isn't necessary for these devices. A few of these devices are still in development, so we don't have PIDs assigned yet.
Dmitry Torokhov
maintainerQuoted 10 lines · Sanjay Govind
Quoted 1 line · Dmitry Torokhov
Don't we also need to add some entries to the
xpad_devicetable?It's not strictly necessary, xpad will pick the devices up with just the vendor id, since they have the correct class, subclass and protocol needed for matching, you only really need to put them into
xpad_deviceif you want to customize the name or give it different flags, and that isn't necessary for these devices. A few of these devices are still in development, so we don't have PIDs assigned yet.
OK, I'll queue it to the next release then.
Thanks.
Signature · 1 line
Dmitry