diff --git a/stepmania/src/InputMapper.cpp b/stepmania/src/InputMapper.cpp index b9840d0e44..c3cc9b074c 100644 --- a/stepmania/src/InputMapper.cpp +++ b/stepmania/src/InputMapper.cpp @@ -771,14 +771,6 @@ bool InputMapper::GameToDevice( const GameInput &GameI, int iSoltNum, DeviceInpu return DeviceI.device != DEVICE_NONE; } -StyleInput InputMapper::GameToStyle( const GameInput &GameI ) -{ - if( GAMESTATE->m_pCurStyle == NULL ) - return StyleInput_INVALID; - - return GAMESTATE->m_pCurStyle->GameInputToStyleInput( GameI ); -} - void InputMapper::GameToMenu( const GameInput &GameI, MenuInput &MenuI ) { const Game* pGame = GAMESTATE->GetCurrentGame(); diff --git a/stepmania/src/InputMapper.h b/stepmania/src/InputMapper.h index bf268445e7..530d62cace 100644 --- a/stepmania/src/InputMapper.h +++ b/stepmania/src/InputMapper.h @@ -38,7 +38,6 @@ public: bool DeviceToGame( const DeviceInput &DeviceI, GameInput& GameI ); // return true if there is a mapping from device to pad bool GameToDevice( const GameInput &GameI, int iSoltNum, DeviceInput& DeviceI ); // return true if there is a mapping from pad to device - StyleInput GameToStyle( const GameInput &GameI ); void StyleToGame( const StyleInput &StyleI, PlayerNumber pn, GameInput &GameI ); void GameToMenu( const GameInput &GameI, MenuInput &MenuI );