17 #ifndef HEADER_SUPERTUX_CONTROL_KEYBOARD_CONFIG_HPP 18 #define HEADER_SUPERTUX_CONTROL_KEYBOARD_CONFIG_HPP 24 #include "control/controller.hpp" 40 return player == other.player && control == other.control;
51 SDL_Keycode reversemap_key(
int player, Control c)
const;
52 void bind_key(SDL_Keycode key,
int player, Control c);
55 void write(
Writer& writer);
58 std::map<SDL_Keycode, PlayerControl> m_keymap;
59 std::set<Control> m_configurable_controls;
60 bool m_jump_with_up_kbd;
Definition: keyboard_config.hpp:29
Definition: keyboard_manager.hpp:30
Definition: keyboard_config.hpp:35
Definition: reader_mapping.hpp:32
Definition: writer.cpp:23