diff --git a/src/RageInput.cpp b/src/RageInput.cpp index 9b3be236c3..e636e12894 100644 --- a/src/RageInput.cpp +++ b/src/RageInput.cpp @@ -9,7 +9,7 @@ RageInput* INPUTMAN = NULL; // globally accessable input device -static Preference g_sInputDrivers( "InputDrivers", "" ); // "" == DEFAULT_INPUT_DRIVER_LIST +Preference g_sInputDrivers( "InputDrivers", "" ); // "" == DEFAULT_INPUT_DRIVER_LIST namespace { diff --git a/src/RageInput.h b/src/RageInput.h index 949b89dde8..feda3611c6 100644 --- a/src/RageInput.h +++ b/src/RageInput.h @@ -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 g_sInputDrivers; + extern RageInput* INPUTMAN; // global and accessable from anywhere in our program #endif