From 013a756d0e624c7e829bb6ff7ef216079270c4a6 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 28 Jan 2006 06:42:27 +0000 Subject: [PATCH] remove AllowOldKeyboardInput. If you're typing on a keyboard, why would you want to enter text with arrow keys? --- stepmania/src/ScreenTextEntry.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/stepmania/src/ScreenTextEntry.cpp b/stepmania/src/ScreenTextEntry.cpp index e2985e6fa7..ea680265e5 100644 --- a/stepmania/src/ScreenTextEntry.cpp +++ b/stepmania/src/ScreenTextEntry.cpp @@ -24,8 +24,6 @@ static const char* g_szKeys[NUM_KEYBOARD_ROWS][KEYS_PER_ROW] = {"","","Space","","","Backspace","","","Cancel","","","Done",""}, }; -static Preference g_bAllowOldKeyboardInput( "AllowOldKeyboardInput", true ); - RString ScreenTextEntry::s_sLastAnswer = ""; /* Settings: */ @@ -221,8 +219,7 @@ void ScreenTextEntry::Input( const InputEventPlus &input ) if( m_In.IsTransitioning() || m_Out.IsTransitioning() || m_Cancel.IsTransitioning() ) return; - //The user wants to input text traditionally - if( g_bAllowOldKeyboardInput.Get() && ( input.type == IET_FIRST_PRESS ) ) + if( input.type == IET_FIRST_PRESS ) { if( input.DeviceI.button == KEY_BACK ) { @@ -270,7 +267,7 @@ void ScreenTextEntry::Input( const InputEventPlus &input ) AppendToAnswer( ssprintf( "%c", input.DeviceI.ToChar() ) ); } - //If the user wishes to select text in traditional way, start should finish text entry + // If the user wishes to select text in traditional way, start should finish text entry m_iFocusY = KEYBOARD_ROW_SPECIAL; m_iFocusX = DONE;