GetNumGameplayButtons unused
This commit is contained in:
@@ -4,13 +4,6 @@
|
|||||||
#include "RageUtil.h"
|
#include "RageUtil.h"
|
||||||
#include "PrefsManager.h"
|
#include "PrefsManager.h"
|
||||||
|
|
||||||
int InputScheme::GetNumGameplayButtons() const
|
|
||||||
{
|
|
||||||
int iIndexOfStart = ButtonNameToIndex( "Start" );
|
|
||||||
ASSERT( iIndexOfStart != GameButton_Invalid );
|
|
||||||
return iIndexOfStart;
|
|
||||||
}
|
|
||||||
|
|
||||||
GameButton InputScheme::ButtonNameToIndex( const RString &sButtonName ) const
|
GameButton InputScheme::ButtonNameToIndex( const RString &sButtonName ) const
|
||||||
{
|
{
|
||||||
for( int i=0; i<m_iButtonsPerController; i++ )
|
for( int i=0; i<m_iButtonsPerController; i++ )
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ public:
|
|||||||
GameButton m_SecondaryMenuButton[NUM_MenuButton];
|
GameButton m_SecondaryMenuButton[NUM_MenuButton];
|
||||||
DeviceButton m_iDefaultKeyboardKey[NUM_GameController][NUM_GameButton]; // default keyboard keys only have an effect the current game is this game
|
DeviceButton m_iDefaultKeyboardKey[NUM_GameController][NUM_GameButton]; // default keyboard keys only have an effect the current game is this game
|
||||||
|
|
||||||
int GetNumGameplayButtons() const;
|
|
||||||
GameButton ButtonNameToIndex( const RString &sButtonName ) const;
|
GameButton ButtonNameToIndex( const RString &sButtonName ) const;
|
||||||
MenuButton GameInputToMenuButton( GameInput GameI ) const;
|
MenuButton GameInputToMenuButton( GameInput GameI ) const;
|
||||||
void MenuButtonToGameInputs( MenuButton MenuI, PlayerNumber pn, GameInput GameIout[4] ) const;
|
void MenuButtonToGameInputs( MenuButton MenuI, PlayerNumber pn, GameInput GameIout[4] ) const;
|
||||||
|
|||||||
Reference in New Issue
Block a user