diff --git a/stepmania/src/InputMapper.cpp b/stepmania/src/InputMapper.cpp index 5e0a2b5508..3dda3d5cd9 100644 --- a/stepmania/src/InputMapper.cpp +++ b/stepmania/src/InputMapper.cpp @@ -933,6 +933,31 @@ void InputMapper::ResetKeyRepeat( GameButton MenuI, PlayerNumber pn ) ResetKeyRepeat( GameI[i] ); } +float InputMapper::GetLevel( const GameInput &GameI ) +{ + float fLevel = 0; + for( int i=0; iGetLevel(DeviceI) ); + } + return fLevel; +} + +float InputMapper::GetLevel( GameButton MenuI, PlayerNumber pn ) +{ + vector GameI; + MenuToGame( MenuI, pn, GameI ); + + float fLevel = 0; + for( size_t i=0; i