simplify
This commit is contained in:
@@ -175,8 +175,7 @@ void ScreenMapControllers::Input( const DeviceInput& DeviceI, const InputEventTy
|
|||||||
IsAxis = true;
|
IsAxis = true;
|
||||||
|
|
||||||
// ignore joystick D-Pad presses if the user has set their pref.
|
// ignore joystick D-Pad presses if the user has set their pref.
|
||||||
if( PREFSMAN->m_bIgnoreJoyAxes && IsAxis &&
|
if( PREFSMAN->m_bIgnoreJoyAxes && IsAxis && DeviceI.IsJoystick() )
|
||||||
DEVICE_JOY1 <= DeviceI.device && DeviceI.device <= DEVICE_JOY4 )
|
|
||||||
{
|
{
|
||||||
//m_textError.SetText( "Game option is set to ignore the Joystick D-Pad." );
|
//m_textError.SetText( "Game option is set to ignore the Joystick D-Pad." );
|
||||||
//m_fErrorDisplayCountdown = 5; // show the error message
|
//m_fErrorDisplayCountdown = 5; // show the error message
|
||||||
|
|||||||
Reference in New Issue
Block a user