Skip to content

Commit 92600f3

Browse files
Plagmandtor
authored andcommitted
Input: xpad - add QH Electronics VID/PID
Add support for QH Electronics Xbox 360-compatible controller Signed-off-by: Pierre-Loup A. Griffais <[email protected]> Signed-off-by: Vicki Pfau <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
1 parent d3561c4 commit 92600f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/input/joystick/xpad.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ static const struct xpad_device {
305305
{ 0x1689, 0xfe00, "Razer Sabertooth", 0, XTYPE_XBOX360 },
306306
{ 0x17ef, 0x6182, "Lenovo Legion Controller for Windows", 0, XTYPE_XBOX360 },
307307
{ 0x1949, 0x041a, "Amazon Game Controller", 0, XTYPE_XBOX360 },
308+
{ 0x1a86, 0xe310, "QH Electronics Controller", 0, XTYPE_XBOX360 },
308309
{ 0x1bad, 0x0002, "Harmonix Rock Band Guitar", 0, XTYPE_XBOX360 },
309310
{ 0x1bad, 0x0003, "Harmonix Rock Band Drumkit", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
310311
{ 0x1bad, 0x0130, "Ion Drum Rocker", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
@@ -514,6 +515,7 @@ static const struct usb_device_id xpad_table[] = {
514515
XPAD_XBOX360_VENDOR(0x1689), /* Razer Onza */
515516
XPAD_XBOX360_VENDOR(0x17ef), /* Lenovo */
516517
XPAD_XBOX360_VENDOR(0x1949), /* Amazon controllers */
518+
XPAD_XBOX360_VENDOR(0x1a86), /* QH Electronics */
517519
XPAD_XBOX360_VENDOR(0x1bad), /* Harmonix Rock Band guitar and drums */
518520
XPAD_XBOX360_VENDOR(0x20d6), /* PowerA controllers */
519521
XPAD_XBOXONE_VENDOR(0x20d6), /* PowerA controllers */

0 commit comments

Comments
 (0)