summaryrefslogtreecommitdiffstats
path: root/src/input_common/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_common/main.cpp')
-rw-r--r--src/input_common/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input_common/main.cpp b/src/input_common/main.cpp
index a9572c23c..f13420b38 100644
--- a/src/input_common/main.cpp
+++ b/src/input_common/main.cpp
@@ -59,7 +59,10 @@ void Shutdown() {
#endif
udp.reset();
Input::UnregisterFactory<Input::ButtonDevice>("gcpad");
+ Input::UnregisterFactory<Input::AnalogDevice>("gcpad");
+
gcbuttons.reset();
+ gcanalog.reset();
}
Keyboard* GetKeyboard() {