From 1876f49ce43ad0b46368d1317129b31f2b6e48e5 Mon Sep 17 00:00:00 2001 From: Vecais Dumais Laacis Date: Wed, 8 Aug 2007 09:13:19 +0000 Subject: [PATCH] reverting changes as input can be catched by Code messages --- stepmania/src/ScreenNameEntryTraditional.cpp | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/stepmania/src/ScreenNameEntryTraditional.cpp b/stepmania/src/ScreenNameEntryTraditional.cpp index f39f91d56a..24b6cc1db9 100644 --- a/stepmania/src/ScreenNameEntryTraditional.cpp +++ b/stepmania/src/ScreenNameEntryTraditional.cpp @@ -12,7 +12,6 @@ #include "InputEventPlus.h" #include "RageInput.h" #include "RageLog.h" -#include "InputMapper.h" REGISTER_SCREEN_CLASS( ScreenNameEntryTraditional ); @@ -144,21 +143,7 @@ void ScreenNameEntryTraditional::Input( const InputEventPlus &input ) { if( IsTransitioning() ) return; - if( input.MenuI != GameButton_Invalid && input.pn != PlayerNumber_Invalid ) - { - switch( input.type ) - { - case IET_FIRST_PRESS: - case IET_REPEAT: - { - Message msg( "Input" ); - msg.SetParam( "PlayerNumber", input.pn ); - msg.SetParam( "MenuItem", GameButtonToString( INPUTMAPPER->GetInputScheme(), input.MenuI ) ); - this->HandleMessage( msg ); - break; - } - } - } + ScreenWithMenuElements::Input( input ); }