diff --git a/stepmania/src/GameDef.cpp b/stepmania/src/GameDef.cpp index ca2eaa9bfe..d5fcdcd478 100644 --- a/stepmania/src/GameDef.cpp +++ b/stepmania/src/GameDef.cpp @@ -20,7 +20,14 @@ #include "InputMapper.h" #include "PrefsManager.h" +GameButton GameDef::ButtonNameToIndex( const CString &sButtonName ) +{ + for( int i=0; i