diff options
-rw-r--r-- | common/events.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/events.h b/common/events.h index 4b45d530c8..cbd6153e54 100644 --- a/common/events.h +++ b/common/events.h @@ -111,6 +111,8 @@ struct JoystickState { * buttons. See JoystickButton. */ int8 button; + + JoystickState() : axis(0), position(0), button(0) {} }; /** |