Removed made public variables private in JoystickManager and KeyboardManager
[supertux.git] / src / control / keyboard_manager.hpp
index 9ddaba3..07885f9 100644 (file)
@@ -34,8 +34,6 @@ class KeyboardManager final
 private:
   InputManager* m_parent;
   KeyboardConfig& m_keyboard_config;
-
-public:
   int wait_for_key;
 
 public:
@@ -47,6 +45,8 @@ public:
   void process_console_key_event(const SDL_KeyboardEvent& event);
   void process_menu_key_event(const SDL_KeyboardEvent& event);
 
+  void bind_next_event_to(Controller::Control id);
+
 private:
   KeyboardManager(const KeyboardManager&) = delete;
   KeyboardManager& operator=(const KeyboardManager&) = delete;