Fix minor clang warnings.

This commit is contained in:
Stephen Anthony 2019-08-15 07:57:53 -02:30
parent 9f51b8caa0
commit cb5a4e210c
2 changed files with 3 additions and 3 deletions

View File

@ -106,7 +106,7 @@ class DialogContainer
@param stick The joystick number
@param axis The joystick axis
@param value Value associated with given axis
@param adir Value associated with given axis
*/
void handleJoyAxisEvent(int stick, JoyAxis axis, JoyDir adir, int button);
@ -115,7 +115,7 @@ class DialogContainer
@param stick The joystick number
@param hat The joystick hat
@param hdir Direction of the with given hat
@param hdir Direction of the given hat
*/
void handleJoyHatEvent(int stick, int hat, JoyHatDir hdir, int button);

View File

@ -44,9 +44,9 @@ EventMappingWidget::EventMappingWidget(GuiObject* boss, const GUI::Font& font,
myActionSelected(-1),
myRemapStatus(false),
myLastStick(0),
myLastHat(0),
myLastAxis(JoyAxis::NONE),
myLastDir(JoyDir::NONE),
myLastHat(0),
myLastHatDir(JoyHatDir::CENTER),
myLastButton(JOY_CTRL_NONE),
myFirstTime(true)