Small style fix
[supertux.git] / src / control / game_controller_manager.hpp
index e07b819..93067bb 100644 (file)
@@ -1,5 +1,5 @@
 //  SuperTux
-//  Copyright (C) 2014 Ingo Ruhnke <grumbel@gmx.de>
+//  Copyright (C) 2014 Ingo Ruhnke <grumbel@gmail.com>
 //
 //  This program is free software: you can redistribute it and/or modify
 //  it under the terms of the GNU General Public License as published by
 #define HEADER_SUPERTUX_CONTROL_GAME_CONTROLLER_MANAGER_HPP
 
 #include <vector>
+#include <array>
 
 #include "SDL.h"
 
+#include "control/controller.hpp"
+
 class InputManager;
 
 class GameControllerManager
@@ -29,6 +32,8 @@ private:
   InputManager* m_parent;
   int m_deadzone;
   std::vector<SDL_GameController*> m_game_controllers;
+  std::array<bool, Controller::CONTROLCOUNT> m_stick_state;
+  std::array<bool, Controller::CONTROLCOUNT> m_button_state;
 
 public:
   GameControllerManager(InputManager* parent);