add FOREACH_GameButtonInScheme

This commit is contained in:
Glenn Maynard
2006-11-21 05:39:56 +00:00
parent f4583be663
commit 67433f7f83
4 changed files with 10 additions and 9 deletions
+2 -2
View File
@@ -46,10 +46,10 @@ void ScreenMapControllers::Init()
if( sButtons.empty() )
{
/* Map all buttons for this game. */
for( int b=0; b<INPUTMAPPER->GetInputScheme()->m_iButtonsPerController; b++ )
FOREACH_GameButtonInScheme( INPUTMAPPER->GetInputScheme(), gb )
{
KeyToMap k;
k.m_GameButton = (GameButton) b;
k.m_GameButton = gb;
m_KeysToMap.push_back( k );
}
}