1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-23 04:05:54 +02:00

Converted public fields of InputManager to private.

This commit is contained in:
Maarten ter Huurne 2010-07-27 21:29:06 +02:00
parent 0cd6b8264c
commit 0c6e23e869

View File

@ -64,6 +64,10 @@ private:
vector<Uint32> interval; vector<Uint32> interval;
SDLEventList events; SDLEventList events;
vector <SDL_Joystick*> joysticks;
vector<bool> actions;
vector<MappingList> mappings;
public: public:
static const int MAPPING_TYPE_UNDEFINED = -1; static const int MAPPING_TYPE_UNDEFINED = -1;
static const int MAPPING_TYPE_BUTTON = 0; static const int MAPPING_TYPE_BUTTON = 0;
@ -74,10 +78,6 @@ public:
~InputManager(); ~InputManager();
void init(const string &conffile = "input.conf"); void init(const string &conffile = "input.conf");
vector <SDL_Joystick*> joysticks;
vector<bool> actions;
vector<MappingList> mappings;
bool update(); bool update();
int count(); int count();
void setActionsCount(int count); void setActionsCount(int count);