17 #ifndef HEADER_SUPERTUX_CONTROL_INPUT_MANAGER_HPP 18 #define HEADER_SUPERTUX_CONTROL_INPUT_MANAGER_HPP 20 #include "control/controller.hpp" 28 #include "util/currenton.hpp" 49 void process_event(
const SDL_Event& event);
54 void use_game_controller(
bool v);
55 bool use_game_controller()
const {
return m_use_game_controller; }
61 std::unique_ptr<Controller> controller;
64 bool& m_use_game_controller;
65 std::unique_ptr<KeyboardManager> keyboard_manager;
66 std::unique_ptr<JoystickManager> joystick_manager;
67 std::unique_ptr<GameControllerManager> game_controller_manager;
Definition: controller.hpp:56
Definition: joystick_manager.hpp:29
Definition: joystick_config.hpp:28
Definition: keyboard_config.hpp:28
A 'Currenton' allows access to the currently active instance of a class via the static current() func...
Definition: currenton.hpp:30
Definition: keyboard_manager.hpp:30
Definition: game_controller_manager.hpp:31