diff options
author | Pierre-Loup A. Griffais <[email protected]> | 2023-03-24 10:40:39 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2023-04-01 20:26:06 -0700 |
commit | 8fb1bcd0baffd42fc44e6fb6f0633914cd48ec8d (patch) | |
tree | 75bbd388837d7cfd71a03943cfec5d20b70b6291 | |
parent | 77987b872fcfeaf36b4760fe5d77a0cf9ac7fdbe (diff) |
Input: xpad - treat Qanba controllers as Xbox360 controllers
They act that way in PC mode.
Reviewed-by: Lyude Paul <[email protected]>
Signed-off-by: Pierre-Loup A. Griffais <[email protected]>
Signed-off-by: Vicki Pfau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
-rw-r--r-- | drivers/input/joystick/xpad.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index 49ae963e5f9d..c2c688156b2e 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -493,6 +493,7 @@ static const struct usb_device_id xpad_table[] = { XPAD_XBOXONE_VENDOR(0x24c6), /* PowerA Controllers */ XPAD_XBOX360_VENDOR(0x2563), /* OneXPlayer Gamepad */ XPAD_XBOX360_VENDOR(0x260d), /* Dareu H101 */ + XPAD_XBOX360_VENDOR(0x2c22), /* Qanba Controllers */ XPAD_XBOX360_VENDOR(0x2dc8), /* 8BitDo Pro 2 Wired Controller */ XPAD_XBOXONE_VENDOR(0x2dc8), /* 8BitDo Pro 2 Wired Controller for Xbox */ XPAD_XBOXONE_VENDOR(0x2e24), /* Hyperkin Duke X-Box One pad */ |