18 #ifndef HEADER_SUPERTUX_CONTROL_KEYBOARD_MANAGER_HPP 19 #define HEADER_SUPERTUX_CONTROL_KEYBOARD_MANAGER_HPP 23 #include "control/controller.hpp" 24 #include "control/keyboard_config.hpp" 27 struct SDL_KeyboardEvent;
28 struct SDL_TextInputEvent;
35 void process_key_event(
const SDL_KeyboardEvent& event);
36 void process_text_input_event(
const SDL_TextInputEvent& event);
37 void process_console_key_event(
const SDL_KeyboardEvent& event);
38 void process_menu_key_event(
const SDL_KeyboardEvent& event);
40 void bind_next_event_to(
int player_id, Control
id);
45 std::optional<KeyboardConfig::PlayerControl> m_wait_for_key;
46 bool m_lock_text_input;
Definition: keyboard_config.hpp:29
Definition: keyboard_manager.hpp:30