Skip to content

Commit a8604a9

Browse files
HP-HX-maxstergregkh
authored andcommitted
Input: xpad - add HyperX Clutch Gladiate Support
commit e28a097 upstream. Add HyperX controller support to xpad_device and xpad_table. Suggested-by: Chris Toledanes <chris.toledanes@hp.com> Reviewed-by: Carl Ng <carl.ng@hp.com> Signed-off-by: Max Nguyen <maxwell.nguyen@hp.com> Reviewed-by: Rahul Rameshbabu <rrameshbabu@nvidia.com> Link: https://lore.kernel.org/r/20230906231514.4291-1-hphyperxdev@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 875eeda commit a8604a9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/input/joystick/xpad.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ static const struct xpad_device {
120120
{ 0x044f, 0x0f07, "Thrustmaster, Inc. Controller", 0, XTYPE_XBOX },
121121
{ 0x044f, 0x0f10, "Thrustmaster Modena GT Wheel", 0, XTYPE_XBOX },
122122
{ 0x044f, 0xb326, "Thrustmaster Gamepad GP XID", 0, XTYPE_XBOX360 },
123+
{ 0x03f0, 0x0495, "HyperX Clutch Gladiate", 0, XTYPE_XBOXONE },
123124
{ 0x045e, 0x0202, "Microsoft X-Box pad v1 (US)", 0, XTYPE_XBOX },
124125
{ 0x045e, 0x0285, "Microsoft X-Box pad (Japan)", 0, XTYPE_XBOX },
125126
{ 0x045e, 0x0287, "Microsoft Xbox Controller S", 0, XTYPE_XBOX },
@@ -434,6 +435,7 @@ static const struct usb_device_id xpad_table[] = {
434435
XPAD_XBOX360_VENDOR(0x0079), /* GPD Win 2 Controller */
435436
XPAD_XBOX360_VENDOR(0x03eb), /* Wooting Keyboards (Legacy) */
436437
XPAD_XBOX360_VENDOR(0x044f), /* Thrustmaster X-Box 360 controllers */
438+
XPAD_XBOXONE_VENDOR(0x03f0), /* HP HyperX Xbox One Controllers */
437439
XPAD_XBOX360_VENDOR(0x045e), /* Microsoft X-Box 360 controllers */
438440
XPAD_XBOXONE_VENDOR(0x045e), /* Microsoft X-Box One controllers */
439441
XPAD_XBOX360_VENDOR(0x046d), /* Logitech X-Box 360 style controllers */

0 commit comments

Comments
 (0)