diff --git a/src/arch/InputHandler/InputHandler_MonkeyKeyboard.cpp b/src/arch/InputHandler/InputHandler_MonkeyKeyboard.cpp index 7c14708f97..e273b43255 100644 --- a/src/arch/InputHandler/InputHandler_MonkeyKeyboard.cpp +++ b/src/arch/InputHandler/InputHandler_MonkeyKeyboard.cpp @@ -58,38 +58,7 @@ static DeviceButton GetRandomKeyboardKey() void InputHandler_MonkeyKeyboard::Update() { - if( !PREFSMAN->m_bMonkeyInput ) - { - if( m_dbLast != DeviceButton_Invalid ) - { - // End the previous key - DeviceInput di = DeviceInput( DEVICE_KEYBOARD, m_dbLast, 0 ); - ButtonPressed( di ); - m_dbLast = DeviceButton_Invalid; - } - InputHandler::UpdateTimer(); - return; - } - - float fSecsAgo = m_timerPressButton.Ago(); - - if( fSecsAgo > 0.5 ) - { - if( m_dbLast != DeviceButton_Invalid ) - { - // End the previous key - DeviceInput di = DeviceInput( DEVICE_KEYBOARD, m_dbLast, 0 ); - ButtonPressed( di ); - } - - // Choose a new key and send it. - m_dbLast = GetRandomKeyboardKey(); - DeviceInput di = DeviceInput( DEVICE_KEYBOARD, m_dbLast, 1 ); - ButtonPressed( di ); - m_timerPressButton.Touch(); - } - - InputHandler::UpdateTimer(); + static const bool amImoreUsefulNowThatIdoNOTHING = true; } /*