mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-26 02:08:28 +02:00
Converted public fields of InputManager to private.
This commit is contained in:
parent
0cd6b8264c
commit
0c6e23e869
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user