From 48c64db8408a15b5bf6b9889037aa903ccac1c82 Mon Sep 17 00:00:00 2001 From: Scott Przybylski Date: Wed, 2 Jan 2013 18:53:23 -0800 Subject: [PATCH] Fix for Issue_190 Fix for Issue_190: Without having DI8DEVTYPE_DRIVING here, many steering wheel's will show up as "unknown" and cannot be mapped to actions. Driving and gamepad both map to joystick for consistency, since they all can have buttons, axes, sliders, and pov hat's. --- Engine/source/platformWin32/winDInputDevice.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Engine/source/platformWin32/winDInputDevice.cpp b/Engine/source/platformWin32/winDInputDevice.cpp index 992a88194..a8b6ffea5 100644 --- a/Engine/source/platformWin32/winDInputDevice.cpp +++ b/Engine/source/platformWin32/winDInputDevice.cpp @@ -66,7 +66,8 @@ DInputDevice::DInputDevice( const DIDEVICEINSTANCE* dii ) switch ( GET_DIDEVICE_TYPE( mDeviceInstance.dwDevType ) ) { // [rene, 12/09/2008] why do we turn a gamepad into a joystick here? - + + case DI8DEVTYPE_DRIVING: case DI8DEVTYPE_GAMEPAD: case DI8DEVTYPE_JOYSTICK: deviceTypeName = "joystick";