mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
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.
This commit is contained in:
parent
b2e2c7b50f
commit
48c64db840
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in a new issue