Skip to content

Commit 27ae0bd

Browse files
Plagmangregkh
authored andcommitted
Input: xpad - add QH Electronics VID/PID
commit 92600f3 upstream. Add support for QH Electronics Xbox 360-compatible controller Signed-off-by: Pierre-Loup A. Griffais <pgriffais@valvesoftware.com> Signed-off-by: Vicki Pfau <vi@endrift.com> Link: https://lore.kernel.org/r/20250116012518.3476735-1-vi@endrift.com Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent a183a11 commit 27ae0bd

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
@@ -306,6 +306,7 @@ static const struct xpad_device {
306306
{ 0x1689, 0xfe00, "Razer Sabertooth", 0, XTYPE_XBOX360 },
307307
{ 0x17ef, 0x6182, "Lenovo Legion Controller for Windows", 0, XTYPE_XBOX360 },
308308
{ 0x1949, 0x041a, "Amazon Game Controller", 0, XTYPE_XBOX360 },
309+
{ 0x1a86, 0xe310, "QH Electronics Controller", 0, XTYPE_XBOX360 },
309310
{ 0x1bad, 0x0002, "Harmonix Rock Band Guitar", 0, XTYPE_XBOX360 },
310311
{ 0x1bad, 0x0003, "Harmonix Rock Band Drumkit", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
311312
{ 0x1bad, 0x0130, "Ion Drum Rocker", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
@@ -516,6 +517,7 @@ static const struct usb_device_id xpad_table[] = {
516517
XPAD_XBOX360_VENDOR(0x1689), /* Razer Onza */
517518
XPAD_XBOX360_VENDOR(0x17ef), /* Lenovo */
518519
XPAD_XBOX360_VENDOR(0x1949), /* Amazon controllers */
520+
XPAD_XBOX360_VENDOR(0x1a86), /* QH Electronics */
519521
XPAD_XBOX360_VENDOR(0x1bad), /* Harmonix Rock Band guitar and drums */
520522
XPAD_XBOX360_VENDOR(0x20d6), /* PowerA controllers */
521523
XPAD_XBOXONE_VENDOR(0x20d6), /* PowerA controllers */

0 commit comments

Comments
 (0)