small barely notable changes

This commit is contained in:
Alberto Ramos
2010-12-14 17:41:29 -07:00
parent a8b065b919
commit 902d2d4368
3 changed files with 7 additions and 3 deletions
+3
View File
@@ -184,7 +184,10 @@ void Screen::Input( const InputEventPlus &input )
{
Message msg("");
if( m_Codes.InputMessage(input, msg) )
{
this->HandleMessage( msg );
return;
}
// Don't send release messages with the default handler.
switch( input.type )
+1 -2
View File
@@ -2174,8 +2174,7 @@ void ScreenGameplay::Input( const InputEventPlus &input )
if( m_PauseController == GameController_Invalid || m_PauseController == input.GameI.controller )
{
// IMO, it's better to have this configurable. -DaisuMaster
if( UNPAUSE_WITH_START )
this->PauseGame( false );
if( UNPAUSE_WITH_START ) this->PauseGame( false );
}
}
return;
+3 -1
View File
@@ -385,6 +385,8 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
{
// LOG->Trace( "ScreenSelectMusic::Input()" );
ScreenWithMenuElements::Input( input );
bool bHoldingCtrl =
INPUTFILTER->IsBeingPressed(DeviceInput(DEVICE_KEYBOARD, KEY_LCTRL)) ||
INPUTFILTER->IsBeingPressed(DeviceInput(DEVICE_KEYBOARD, KEY_RCTRL));
@@ -825,7 +827,7 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
if( input.type == IET_FIRST_PRESS && DetectCodes(input) )
return;
ScreenWithMenuElements::Input( input );
//ScreenWithMenuElements::Input( input );
}
bool ScreenSelectMusic::DetectCodes( const InputEventPlus &input )