Fix some issues found by cppcheck.
This commit is contained in:
parent
72407a9cfb
commit
f851c4aa33
163 changed files with 776 additions and 767 deletions
|
|
@ -157,9 +157,9 @@ private:
|
|||
};
|
||||
|
||||
struct JoyEvent {
|
||||
int type;
|
||||
int index; // Can be either JoyAxis or JoyButton.
|
||||
float value;
|
||||
int type = TYPE_MAX;
|
||||
int index = -1; // Can be either JoyAxis or JoyButton.
|
||||
float value = 0.f;
|
||||
};
|
||||
|
||||
struct JoyBinding {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue