add InputDeviceStateToString
This commit is contained in:
@@ -8,6 +8,14 @@
|
|||||||
#include "RageUtil.h"
|
#include "RageUtil.h"
|
||||||
#include "Foreach.h"
|
#include "Foreach.h"
|
||||||
|
|
||||||
|
static const char *InputDeviceStateNames[] = {
|
||||||
|
"Connected",
|
||||||
|
"Disconnected",
|
||||||
|
"MissingMultitap",
|
||||||
|
};
|
||||||
|
XToString( InputDeviceState );
|
||||||
|
|
||||||
|
|
||||||
static map<DeviceButton,RString> g_mapNamesToString;
|
static map<DeviceButton,RString> g_mapNamesToString;
|
||||||
static map<RString,DeviceButton> g_mapStringToNames;
|
static map<RString,DeviceButton> g_mapStringToNames;
|
||||||
static void InitNames()
|
static void InitNames()
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ enum InputDeviceState
|
|||||||
NUM_InputDeviceState,
|
NUM_InputDeviceState,
|
||||||
InputDeviceState_Invalid
|
InputDeviceState_Invalid
|
||||||
};
|
};
|
||||||
|
const RString& InputDeviceStateToString( InputDeviceState ids );
|
||||||
|
|
||||||
|
|
||||||
/* Only raw, unshifted keys go in this table; this doesn't include internationalized
|
/* Only raw, unshifted keys go in this table; this doesn't include internationalized
|
||||||
|
|||||||
Reference in New Issue
Block a user