From e666d8ee89d9e0778be1aba96ebb314e5206237d Mon Sep 17 00:00:00 2001 From: Shenjoku Date: Tue, 18 Jun 2013 21:38:16 -0700 Subject: [PATCH] Upon further consideration I think it's best to just add all possible device types and let the user try to use whatever they might have. Even if it can't be mapped properly to something that will work it's still worth trying and shouldn't cause any major problems (other than just not being able to play with some weird devices, like lightguns for example). --- src/arch/InputHandler/InputHandler_DirectInput.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/arch/InputHandler/InputHandler_DirectInput.cpp b/src/arch/InputHandler/InputHandler_DirectInput.cpp index 9b66516ebc..32277f9b60 100644 --- a/src/arch/InputHandler/InputHandler_DirectInput.cpp +++ b/src/arch/InputHandler/InputHandler_DirectInput.cpp @@ -31,7 +31,12 @@ static BOOL CALLBACK EnumDevicesCallback( const DIDEVICEINSTANCE *pdidInstance, { case DI8DEVTYPE_JOYSTICK: case DI8DEVTYPE_GAMEPAD: + case DI8DEVTYPE_DRIVING: + case DI8DEVTYPE_FLIGHT: case DI8DEVTYPE_1STPERSON: + case DI8DEVTYPE_DEVICECTRL: + case DI8DEVTYPE_SCREENPOINTER: + case DI8DEVTYPE_REMOTE: case DI8DEVTYPE_SUPPLEMENTAL: { device.type = device.JOYSTICK;