Skip to content

Commit 659a761

Browse files
antheasdtor
authored andcommitted
Input: xpad - rename QH controller to Legion Go S
The QH controller is actually the controller of the Legion Go S, with the manufacturer string wch.cn and product name Legion Go S in its USB descriptor. A cursory lookup of the VID reveals the same. Therefore, rename the xpad entries to match. Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev> Link: https://lore.kernel.org/r/20250222170010.188761-4-lkml@antheas.dev Cc: stable@vger.kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 95a54a9 commit 659a761

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/input/joystick/xpad.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ static const struct xpad_device {
312312
{ 0x1689, 0xfe00, "Razer Sabertooth", 0, XTYPE_XBOX360 },
313313
{ 0x17ef, 0x6182, "Lenovo Legion Controller for Windows", 0, XTYPE_XBOX360 },
314314
{ 0x1949, 0x041a, "Amazon Game Controller", 0, XTYPE_XBOX360 },
315-
{ 0x1a86, 0xe310, "QH Electronics Controller", 0, XTYPE_XBOX360 },
315+
{ 0x1a86, 0xe310, "Legion Go S", 0, XTYPE_XBOX360 },
316316
{ 0x1bad, 0x0002, "Harmonix Rock Band Guitar", 0, XTYPE_XBOX360 },
317317
{ 0x1bad, 0x0003, "Harmonix Rock Band Drumkit", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
318318
{ 0x1bad, 0x0130, "Ion Drum Rocker", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360 },
@@ -538,7 +538,7 @@ static const struct usb_device_id xpad_table[] = {
538538
XPAD_XBOX360_VENDOR(0x1689), /* Razer Onza */
539539
XPAD_XBOX360_VENDOR(0x17ef), /* Lenovo */
540540
XPAD_XBOX360_VENDOR(0x1949), /* Amazon controllers */
541-
XPAD_XBOX360_VENDOR(0x1a86), /* QH Electronics */
541+
XPAD_XBOX360_VENDOR(0x1a86), /* Nanjing Qinheng Microelectronics (WCH) */
542542
XPAD_XBOX360_VENDOR(0x1bad), /* Harmonix Rock Band guitar and drums */
543543
XPAD_XBOX360_VENDOR(0x1ee9), /* ZOTAC Technology Limited */
544544
XPAD_XBOX360_VENDOR(0x20d6), /* PowerA controllers */

0 commit comments

Comments
 (0)