From de5270a65174505aa0afdabf1f4cf23a637ab424 Mon Sep 17 00:00:00 2001 From: pinumbernumber <1337rz@gmail.com> Date: Sat, 7 Sep 2013 21:40:14 +0100 Subject: [PATCH 1/3] Fix support for logitech f310 on windows --- input/dinput.c | 1 + 1 file changed, 1 insertion(+) diff --git a/input/dinput.c b/input/dinput.c index 8343a4865a..a1143e6525 100644 --- a/input/dinput.c +++ b/input/dinput.c @@ -405,6 +405,7 @@ static const char* const XINPUT_PAD_NAMES[] = "Xbox 360 Wireless Receiver", "Xbox Receiver for Windows (Wireless Controller)", "Xbox wireless receiver for windows (Controller)", + "Controller (Gamepad F310)", NULL }; From 914f6fcf3372cb2bbaa35bbbfd09d2784a878d00 Mon Sep 17 00:00:00 2001 From: pinumbernumber <1337rz@gmail.com> Date: Sat, 7 Sep 2013 22:17:31 +0100 Subject: [PATCH 2/3] add more variants of the 360 pad and third-party XI pads --- input/dinput.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/input/dinput.c b/input/dinput.c index a1143e6525..cc28a228d7 100644 --- a/input/dinput.c +++ b/input/dinput.c @@ -397,15 +397,26 @@ static BOOL CALLBACK enum_axes_cb(const DIDEVICEOBJECTINSTANCE *inst, void *p) // example code is a horrible unsightly mess. static const char* const XINPUT_PAD_NAMES[] = { + "XBOX 360 For Windows", "Controller (Gamepad for Xbox 360)", "Controller (XBOX 360 For Windows)", "Controller (Xbox 360 Wireless Receiver for Windows)", "Controller (Xbox wireless receiver for windows)", "XBOX 360 For Windows (Controller)", "Xbox 360 Wireless Receiver", + "Xbox 360 Wireless Controller", "Xbox Receiver for Windows (Wireless Controller)", "Xbox wireless receiver for windows (Controller)", + "Gamepad F310 (Controller)", "Controller (Gamepad F310)", + "Wireless Gamepad F710 (Controller)", + "Controller (Batarang wired controller (XBOX))", + "Afterglow Gamepad for Xbox 360 (Controller)" + "Controller (Rumble Gamepad F510)", + "Controller (Wireless Gamepad F710)", + "Controller (Xbox 360 Wireless Receiver for Windows)", + "Controller (Xbox wireless receiver for windows)", + "Controller (XBOX360 GAMEPAD)", NULL }; From 86c4458f357907d6b352e377ce93b8108fcd5744 Mon Sep 17 00:00:00 2001 From: pinumbernumber <1337rz@gmail.com> Date: Sat, 7 Sep 2013 22:51:23 +0100 Subject: [PATCH 3/3] add madcatz pad --- input/dinput.c | 1 + 1 file changed, 1 insertion(+) diff --git a/input/dinput.c b/input/dinput.c index cc28a228d7..b9a366d71f 100644 --- a/input/dinput.c +++ b/input/dinput.c @@ -417,6 +417,7 @@ static const char* const XINPUT_PAD_NAMES[] = "Controller (Xbox 360 Wireless Receiver for Windows)", "Controller (Xbox wireless receiver for windows)", "Controller (XBOX360 GAMEPAD)", + "MadCatz GamePad", NULL };