mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Converted public fields of InputManager to private.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user