Expose InputDrivers preference to other classes
This commit is contained in:
+1
-1
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user