1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-08-08 07:09:52 +00:00

Use sentinel that captures most of the input for sourceID -1

This commit is contained in:
fgenesis 2016-07-18 01:27:58 +02:00
parent c943759ce1
commit ab959bc6d6
5 changed files with 57 additions and 20 deletions

View file

@ -37,6 +37,7 @@ public:
inline bool getKeyState(int k) const { return !!status[k]; }
inline bool isKeyChanged(int k) { return !!changed[k]; }
void import(const ActionSet& as);
void importQuery(const int *pKeys, size_t num);
inline const std::vector<int>& getToQuery() const {return toQuery; }
inline int getJoystickID() const { return joystickID; }
private: