diff --git a/stepmania/src/ScreenDebugOverlay.cpp b/stepmania/src/ScreenDebugOverlay.cpp index 914eec26dc..db8bb7bf2e 100644 --- a/stepmania/src/ScreenDebugOverlay.cpp +++ b/stepmania/src/ScreenDebugOverlay.cpp @@ -87,12 +87,16 @@ struct MapDebugToDI { DeviceInput holdForDebug1; DeviceInput holdForDebug2; + DeviceInput holdForSlow; + DeviceInput holdForFast; DeviceInput debugButton[MAX_DEBUG_LINES]; DeviceInput gameplayButton[MAX_DEBUG_LINES]; void Clear() { holdForDebug1.MakeInvalid(); holdForDebug2.MakeInvalid(); + holdForSlow.MakeInvalid(); + holdForFast.MakeInvalid(); for( int i=0; iIsBeingPressed( DeviceInput(DEVICE_KEYBOARD, KEY_TAB) ) ) + if( INPUTFILTER->IsBeingPressed(g_Mappings.holdForFast) ) { - if( INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, KEY_ACCENT) ) ) + if( INPUTFILTER->IsBeingPressed(g_Mappings.holdForSlow) ) fRate = 0; /* both; stop time */ else fRate *= 4; } - else if( INPUTFILTER->IsBeingPressed( DeviceInput(DEVICE_KEYBOARD, KEY_ACCENT) ) ) + else if( INPUTFILTER->IsBeingPressed(g_Mappings.holdForSlow) ) { fRate /= 4; }