Input: xpad - add support for the ZD O+ Excellence controller
Subsystems (2)
PATCH 1/1 Input: xpad - add support for the ZD O+ Excellence controller
Adds support for the ZD O+ Excellence controller.
Tested with a wired connection.
--- drivers/input/joystick/xpad.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/input/joystick/xpad.c +2 -0
@@ -296,6 +296,7 @@ static const struct xpad_device { { 0x10f5, 0x7005, "Turtle Beach Recon Controller", 0, XTYPE_XBOXONE }, { 0x10f5, 0x7008, "Turtle Beach Recon Controller", MAP_SHARE_BUTTON, XTYPE_XBOXONE }, { 0x10f5, 0x7073, "Turtle Beach Stealth Ultra Controller", MAP_SHARE_BUTTON, XTYPE_XBOXONE }, + { 0x11c0, 0x5505, "ZD O+ Excellence", 0, XTYPE_XBOX360 }, { 0x11c9, 0x55f0, "Nacon GC-100XF", 0, XTYPE_XBOX360 }, { 0x11ff, 0x0511, "PXN V900", 0, XTYPE_XBOX360 }, { 0x1209, 0x2882, "Ardwiino Controller", 0, XTYPE_XBOX360 },
@@ -541,6 +542,7 @@ static const struct usb_device_id xpad_table[] = {XPAD_XBOXONE_VENDOR (0x0f0d ),/* Hori controllers */ XPAD_XBOX360_VENDOR (0x1038 ),/* SteelSeries controllers */ XPAD_XBOXONE_VENDOR (0x10f5 ),/* Turtle Beach Controllers */ +XPAD_XBOXONE_VENDOR (0x11c0 ),/* ZD O+ Excellence */ XPAD_XBOX360_VENDOR (0x11c9 ),/* Nacon GC100XF */ XPAD_XBOX360_VENDOR (0x11ff ),/* PXN V900 */ XPAD_XBOX360_VENDOR(0x1209), /* Ardwiino Controllers */
Signature · 1 line
2.43.0
Dmitry Torokhov
maintainerHi Philippos,
Quoted 21 lines · Philippos Boon Alexaki
Adds support for the ZD O+ Excellence controller.
Tested with a wired connection.Signed-off-by Philippos Boon Alexaki <[email protected]>--- drivers/input/joystick/xpad.c | 2 ++ 1 file changed, 2 insertions(+)drivers/input/joystick/xpad.c +1
-0@@ -296,6 +296,7 @@ static const struct xpad_device { { 0x10f5, 0x7005, "Turtle Beach Recon Controller", 0, XTYPE_XBOXONE }, { 0x10f5, 0x7008, "Turtle Beach Recon Controller", MAP_SHARE_BUTTON, XTYPE_XBOXONE }, { 0x10f5, 0x7073, "Turtle Beach Stealth Ultra Controller", MAP_SHARE_BUTTON, XTYPE_XBOXONE }, + { 0x11c0, 0x5505, "ZD O+ Excellence", 0, XTYPE_XBOX360 }, { 0x11c9, 0x55f0, "Nacon GC-100XF", 0, XTYPE_XBOX360 }, { 0x11ff, 0x0511, "PXN V900", 0, XTYPE_XBOX360 }, { 0x1209, 0x2882, "Ardwiino Controller", 0, XTYPE_XBOX360 },
drivers/input/joystick/xpad.c static const struct usb_device_id xpad_table[] = { · line 545
Quoted 4 lines
drivers/input/joystick/xpad.c +1
-0@@ -541,6 +542,7 @@ static const struct usb_device_id xpad_table[] = {XPAD_XBOXONE_VENDOR (0x0f0d ),/* Hori controllers */ XPAD_XBOX360_VENDOR (0x1038 ),/* SteelSeries controllers */ XPAD_XBOXONE_VENDOR (0x10f5 ),/* Turtle Beach Controllers */ + XPAD_XBOXONE_VENDOR(0x11c0), /* ZD O+ Excellence */
It is really weird that the matching is added for XboxOne but the type is set for Xbox360...
drivers/input/joystick/xpad.c static const struct usb_device_id xpad_table[] = { · line 548
Quoted 3 lines
drivers/input/joystick/xpad.c +0
-0XPAD_XBOX360_VENDOR (0x11c9 ),/* Nacon GC100XF */ XPAD_XBOX360_VENDOR (0x11ff ),/* PXN V900 */ XPAD_XBOX360_VENDOR(0x1209), /* Ardwiino Controllers */
Thanks.
Signature · 1 line
Dmitry
Hi Dmitry,
Quoted 23 lines · Dmitry Torokhov
Hi Philippos,
Quoted 20 lines · Philippos Boon Alexaki
Adds support for the ZD O+ Excellence controller.
Tested with a wired connection.Signed-off-by Philippos Boon Alexaki <[email protected]>--- drivers/input/joystick/xpad.c | 2 ++ 1 file changed, 2 insertions(+)drivers/input/joystick/xpad.c +1
-0@@ -296,6 +296,7 @@ static const struct xpad_device { { 0x10f5, 0x7005, "Turtle Beach Recon Controller", 0, XTYPE_XBOXONE }, { 0x10f5, 0x7008, "Turtle Beach Recon Controller", MAP_SHARE_BUTTON, XTYPE_XBOXONE }, { 0x10f5, 0x7073, "Turtle Beach Stealth Ultra Controller", MAP_SHARE_BUTTON, XTYPE_XBOXONE }, + { 0x11c0, 0x5505, "ZD O+ Excellence", 0, XTYPE_XBOX360 }, { 0x11c9, 0x55f0, "Nacon GC-100XF", 0, XTYPE_XBOX360 }, { 0x11ff, 0x0511, "PXN V900", 0, XTYPE_XBOX360 }, { 0x1209, 0x2882, "Ardwiino Controller", 0, XTYPE_XBOX360 },
Quoted 8 lines
drivers/input/joystick/xpad.c static const struct usb_device_id xpad_table[] = { · line 545
Quoted 5 lines
drivers/input/joystick/xpad.c +1
-0@@ -541,6 +542,7 @@ static const struct usb_device_id xpad_table[] = {XPAD_XBOXONE_VENDOR (0x0f0d ),/* Hori controllers */ XPAD_XBOX360_VENDOR (0x1038 ),/* SteelSeries controllers */ XPAD_XBOXONE_VENDOR (0x10f5 ),/* Turtle Beach Controllers */ + XPAD_XBOXONE_VENDOR(0x11c0), /* ZD O+ Excellence */It is really weird that the matching is added for XboxOne but the type is set for Xbox360...
This is a typo, it behaves like a Xbox360 so this should be changed to reflect that. Should I resubmit my patch?
Quoted 9 lines
drivers/input/joystick/xpad.c static const struct usb_device_id xpad_table[] = { · line 548
Quoted 4 lines
drivers/input/joystick/xpad.c +0
-0XPAD_XBOX360_VENDOR (0x11c9 ),/* Nacon GC100XF */ XPAD_XBOX360_VENDOR (0x11ff ),/* PXN V900 */ XPAD_XBOX360_VENDOR(0x1209), /* Ardwiino Controllers */Thanks.
Signature · 1 line
Dmitry
Kind regards,
Philippos