From 10abc89a1c61573c90e2b043493fb387fe5d848e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sat, 13 Jan 2007 07:27:52 +0000 Subject: [PATCH] fix ScreenTestInput showing not pressed buttons --- stepmania/src/ScreenTestInput.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/ScreenTestInput.cpp b/stepmania/src/ScreenTestInput.cpp index ac9d318219..240f95f1a0 100644 --- a/stepmania/src/ScreenTestInput.cpp +++ b/stepmania/src/ScreenTestInput.cpp @@ -48,6 +48,9 @@ class InputList: public BitmapText INPUTFILTER->GetPressedButtons( DeviceInputs ); FOREACH( DeviceInput, DeviceInputs, di ) { + if( !di->bDown && di->level == 0.0f ) + continue; + RString sTemp; sTemp += INPUTMAN->GetDeviceSpecificInputString(*di);