diff --git a/stepmania/src/ScreenTestInput.cpp b/stepmania/src/ScreenTestInput.cpp index 985f250340..ee0f5f4668 100644 --- a/stepmania/src/ScreenTestInput.cpp +++ b/stepmania/src/ScreenTestInput.cpp @@ -28,22 +28,6 @@ void ScreenTestInput::Init() m_textDevices.SetDiffuse( RageColor(1,1,1,1) ); m_textDevices.SetZoom( 0.7f ); m_textDevices.SetHorizAlign( Actor::align_left ); - { - vector vDevices; - vector vDescriptions; - vector vs; - INPUTMAN->GetDevicesAndDescriptions( vDevices, vDescriptions ); - ASSERT( vDevices.size() == vDescriptions.size() ); - for( unsigned i=0; iAddChild( &m_textDevices ); m_textInputs.LoadFromFont( THEME->GetPathF("Common","normal") ); @@ -68,6 +52,29 @@ void ScreenTestInput::Update( float fDeltaTime ) { Screen::Update( fDeltaTime ); + // + // Update devices text + // + { + vector vDevices; + vector vDescriptions; + vector vs; + INPUTMAN->GetDevicesAndDescriptions( vDevices, vDescriptions ); + ASSERT( vDevices.size() == vDescriptions.size() ); + for( unsigned i=0; i asInputs; DeviceInput di;