fix ScreenTestInput showing not pressed buttons
This commit is contained in:
@@ -48,6 +48,9 @@ class InputList: public BitmapText
|
|||||||
INPUTFILTER->GetPressedButtons( DeviceInputs );
|
INPUTFILTER->GetPressedButtons( DeviceInputs );
|
||||||
FOREACH( DeviceInput, DeviceInputs, di )
|
FOREACH( DeviceInput, DeviceInputs, di )
|
||||||
{
|
{
|
||||||
|
if( !di->bDown && di->level == 0.0f )
|
||||||
|
continue;
|
||||||
|
|
||||||
RString sTemp;
|
RString sTemp;
|
||||||
sTemp += INPUTMAN->GetDeviceSpecificInputString(*di);
|
sTemp += INPUTMAN->GetDeviceSpecificInputString(*di);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user