diff --git a/stepmania/src/RageInputDevice.cpp b/stepmania/src/RageInputDevice.cpp index 3bee33a07e..4e656fabe3 100644 --- a/stepmania/src/RageInputDevice.cpp +++ b/stepmania/src/RageInputDevice.cpp @@ -8,6 +8,14 @@ #include "RageUtil.h" #include "Foreach.h" +static const char *InputDeviceStateNames[] = { + "Connected", + "Disconnected", + "MissingMultitap", +}; +XToString( InputDeviceState ); + + static map g_mapNamesToString; static map g_mapStringToNames; static void InitNames() diff --git a/stepmania/src/RageInputDevice.h b/stepmania/src/RageInputDevice.h index 5386dd46ef..0ac404929b 100644 --- a/stepmania/src/RageInputDevice.h +++ b/stepmania/src/RageInputDevice.h @@ -83,6 +83,7 @@ enum InputDeviceState NUM_InputDeviceState, InputDeviceState_Invalid }; +const RString& InputDeviceStateToString( InputDeviceState ids ); /* Only raw, unshifted keys go in this table; this doesn't include internationalized