diff options
author | 2016-11-15 18:05:43 -0500 | |
---|---|---|
committer | 2016-11-15 18:05:43 -0500 | |
commit | 0ca7ac3b2a1a61e4ea7c65564a7bd90561fb13d1 (patch) | |
tree | fe5055188bb03da46cc75b10041feed215e24cc6 | |
parent | 7cd5e850f53538be0f8e53cc0c42d099a8828c1e (diff) |
UWP: Missing gamepad reset caused control sticking (nw)
-rw-r--r-- | src/osd/modules/input/input_uwp.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/osd/modules/input/input_uwp.cpp b/src/osd/modules/input/input_uwp.cpp index 442def1c20d..d82a2f09de2 100644 --- a/src/osd/modules/input/input_uwp.cpp +++ b/src/osd/modules/input/input_uwp.cpp @@ -482,6 +482,11 @@ internal: } } + void Reset() override + { + memset(&state, 0, sizeof(state)); + } + void Configure() { // If the device has already been configured, don't do it again |