Expose InputDrivers preference to other classes

This commit is contained in:
Ben "root" Anderson
2013-11-30 00:00:09 -06:00
parent 1dde840059
commit a0eb83d60e
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
RageInput* INPUTMAN = NULL; // globally accessable input device
static Preference<RString> g_sInputDrivers( "InputDrivers", "" ); // "" == DEFAULT_INPUT_DRIVER_LIST
Preference<RString> g_sInputDrivers( "InputDrivers", "" ); // "" == DEFAULT_INPUT_DRIVER_LIST
namespace
{
+3
View File
@@ -4,6 +4,7 @@
#define RAGEINPUT_H
#include "RageInputDevice.h"
#include "Preference.h"
struct lua_State;
class InputHandler;
@@ -31,6 +32,8 @@ public:
void PushSelf( lua_State *L );
};
extern Preference<RString> g_sInputDrivers;
extern RageInput* INPUTMAN; // global and accessable from anywhere in our program
#endif