cleanup
This commit is contained in:
@@ -22,6 +22,8 @@ void InputHandler::ButtonPressed( DeviceInput di, bool Down )
|
|||||||
++m_iInputsSinceUpdate;
|
++m_iInputsSinceUpdate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
di.character = DeviceButtonToChar( di.button, true );
|
||||||
|
|
||||||
INPUTFILTER->ButtonPressed( di, Down );
|
INPUTFILTER->ButtonPressed( di, Down );
|
||||||
|
|
||||||
if( m_iInputsSinceUpdate >= 1000 )
|
if( m_iInputsSinceUpdate >= 1000 )
|
||||||
@@ -191,9 +193,9 @@ void MakeInputHandlers( const RString &drivers_, vector<InputHandler *> &Add )
|
|||||||
DEBUG_ASSERT( ret );
|
DEBUG_ASSERT( ret );
|
||||||
Add.push_back( ret );
|
Add.push_back( ret );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Always add
|
// Always add
|
||||||
Add.push_back( new InputHandler_MonkeyKeyboard );
|
Add.push_back( new InputHandler_MonkeyKeyboard );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user