Initial support for "haptic" (force feedback) devices.
[supertux.git] / src / supertux / globals.hpp
index 08a4830..5fcb632 100644 (file)
@@ -17,6 +17,8 @@
 #ifndef HEADER_SUPERTUX_SUPERTUX_GLOBALS_HPP
 #define HEADER_SUPERTUX_SUPERTUX_GLOBALS_HPP
 
+#include "control/haptic_manager.hpp"
+
 typedef struct SDL_Surface SDL_Surface;
 namespace tinygettext { class DictionaryManager; }
 class Config;
@@ -42,6 +44,8 @@ extern int SCREEN_HEIGHT;
 // global variables
 extern JoystickKeyboardController* g_main_controller;
 
+extern HapticManager* g_haptic_manager;
+
 extern SDL_Surface* g_screen;
 
 extern ScreenManager* g_screen_manager;