mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-08-08 15:19:50 +00:00
Fix some warnings
mostly sign-related, but also some about commas after the last item in an enum list, usage of default in switches, implicit or old-style casts
This commit is contained in:
parent
21fa854c87
commit
9245bee717
38 changed files with 128 additions and 126 deletions
|
@ -34,7 +34,7 @@ public:
|
|||
|
||||
void calibrate(Vector &vec, float dead);
|
||||
bool anyButton() const;
|
||||
bool getButton(unsigned id) const { return !!(buttonBitmask & (1u << id)); }
|
||||
bool getButton(size_t id) const { return !!(buttonBitmask & (1u << id)); }
|
||||
float getAxisUncalibrated(int id) const;
|
||||
int getNumAxes() const;
|
||||
int getIndex() const { return stickIndex; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue