Input: xpad - add ID for Flydigi Apex 5
Subsystems (2)
PATCH 1/1 Input: xpad - add ID for Flydigi Apex 5
The Flydigi Apex 5 has an XInput mode. Add the vid and pid for it.
Reported-by Brandon Lin <[email protected]>
Reported-by Sergey Belozyorcev <[email protected]>
Signed-off-by Antheas Kapenekakis <[email protected]>
--- drivers/input/joystick/xpad.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/input/joystick/xpad.c +2 -0
@@ -422,6 +422,7 @@ static const struct xpad_device { { 0x3537, 0x1010, "GameSir G7 SE", 0, XTYPE_XBOXONE }, { 0x366c, 0x0005, "ByoWave Proteus Controller", MAP_SHARE_BUTTON, XTYPE_XBOXONE, FLAG_DELAY_INIT }, { 0x3767, 0x0101, "Fanatec Speedster 3 Forceshock Wheel", 0, XTYPE_XBOX }, + { 0x37d7, 0x2501, "Flydigi Apex 5", 0, XTYPE_XBOX360 }, { 0x413d, 0x2104, "Black Shark Green Ghost Gamepad", 0, XTYPE_XBOX360 }, { 0xffff, 0xffff, "Chinese-made Xbox Controller", 0, XTYPE_XBOX }, { 0x0000, 0x0000, "Generic X-Box pad", 0, XTYPE_UNKNOWN }
@@ -578,6 +579,7 @@ static const struct usb_device_id xpad_table[] = {XPAD_XBOX360_VENDOR (0x3537 ),/* GameSir Controllers */ XPAD_XBOXONE_VENDOR (0x3537 ),/* GameSir Controllers */ XPAD_XBOXONE_VENDOR (0x366c ),/* ByoWave controllers */ +XPAD_XBOX360_VENDOR (0x37d7 ),/* Flydigi Controllers */ XPAD_XBOX360_VENDOR(0x413d), /* Black Shark Green Ghost Controller */ { } };
base-commit: 1b237f190eb3d36f52dffe07a40b5eb210280e00
Signature · 1 line
2.51.0
Quoted 6 lines · Antheas Kapenekakis
The Flydigi Apex 5 has an XInput mode. Add the vid and pid for it.
Reported-by Brandon Lin <[email protected]>Reported-by Sergey Belozyorcev <[email protected]>Signed-off-by Antheas Kapenekakis <[email protected]>
Applied, thank you.
Signature · 1 line
Dmitry