use GetDeviceSpecificInputString
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
#include "GameConstantsAndTypes.h"
|
#include "GameConstantsAndTypes.h"
|
||||||
#include "ScreenManager.h"
|
#include "ScreenManager.h"
|
||||||
#include "RageLog.h"
|
#include "RageLog.h"
|
||||||
|
#include "RageInput.h"
|
||||||
#include "InputMapper.h"
|
#include "InputMapper.h"
|
||||||
#include "GameManager.h"
|
#include "GameManager.h"
|
||||||
#include "GameState.h"
|
#include "GameState.h"
|
||||||
@@ -343,10 +344,10 @@ void ScreenMapControllers::Refresh()
|
|||||||
BitmapText *pText = pKey->m_textMappedTo[p][s];
|
BitmapText *pText = pKey->m_textMappedTo[p][s];
|
||||||
GameInput cur_gi( p, pKey->m_GameButton );
|
GameInput cur_gi( p, pKey->m_GameButton );
|
||||||
DeviceInput di;
|
DeviceInput di;
|
||||||
|
CString sText = "-----------";
|
||||||
if( INPUTMAPPER->GameToDevice( cur_gi, s, di ) )
|
if( INPUTMAPPER->GameToDevice( cur_gi, s, di ) )
|
||||||
pText->SetText( di.ToString() );
|
sText = INPUTMAN->GetDeviceSpecificInputString( di );
|
||||||
else
|
pText->SetText( sText );
|
||||||
pText->SetText( "-----------" );
|
|
||||||
|
|
||||||
if( bSelected )
|
if( bSelected )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user