summaryrefslogtreecommitdiff
path: root/platform/uwp/joypad_uwp.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/uwp/joypad_uwp.h')
-rw-r--r--platform/uwp/joypad_uwp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/uwp/joypad_uwp.h b/platform/uwp/joypad_uwp.h
index 29f5109056..0869f1961d 100644
--- a/platform/uwp/joypad_uwp.h
+++ b/platform/uwp/joypad_uwp.h
@@ -68,7 +68,7 @@ private:
ControllerDevice controllers[MAX_CONTROLLERS];
- InputDefault *input;
+ InputDefault *input = nullptr;
void OnGamepadAdded(Platform::Object ^ sender, Windows::Gaming::Input::Gamepad ^ value);
void OnGamepadRemoved(Platform::Object ^ sender, Windows::Gaming::Input::Gamepad ^ value);