From a1cd8501b9c92cf5d4536104acc58c89a4fae648 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Sat, 3 Jul 2010 21:57:01 -0500 Subject: [PATCH] cleanup --- src/InputMapper.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/InputMapper.cpp b/src/InputMapper.cpp index 8c92370810..d5d760a350 100644 --- a/src/InputMapper.cpp +++ b/src/InputMapper.cpp @@ -603,10 +603,7 @@ void InputMapper::AutoMapJoysticksForCurrentGame() } - - // // apply auto mappings - // int iNumJoysticksMapped = 0; FOREACH_CONST( InputDeviceInfo, vDevices, device ) { @@ -618,9 +615,7 @@ void InputMapper::AutoMapJoysticksForCurrentGame() if( !regex.Compare(sDescription) ) continue; // driver names don't match - // // We have a mapping for this joystick - // GameController gc = (GameController)iNumJoysticksMapped; if( gc >= NUM_GameController ) break; // stop mapping. We already mapped one device for each game controller. @@ -695,7 +690,6 @@ bool InputMapper::CheckForChangedInputDevicesAndRemap( RString &sMessageOut ) } } - bool bJoysticksChanged = vsCurrentJoysticks != vsLastSeenJoysticks; if( !bJoysticksChanged ) return false; @@ -803,7 +797,7 @@ GameButton InputMapper::GameButtonToMenuButton( GameButton gb ) const } /* If set (not PLAYER_INVALID), inputs from both GameControllers will be mapped - * to the specified player. If PLAYER_INVALID, GameControllers will be mapped + * to the specified player. If PLAYER_INVALID, GameControllers will be mapped * individually. */ void InputMapper::SetJoinControllers( PlayerNumber pn ) {