summaryrefslogtreecommitdiffhomepage
path: root/opentrack/win32-joystick-shortcuts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/win32-joystick-shortcuts.cpp')
-rw-r--r--opentrack/win32-joystick-shortcuts.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/opentrack/win32-joystick-shortcuts.cpp b/opentrack/win32-joystick-shortcuts.cpp
index 44659b7e..61a2a74a 100644
--- a/opentrack/win32-joystick-shortcuts.cpp
+++ b/opentrack/win32-joystick-shortcuts.cpp
@@ -22,3 +22,9 @@ std::unordered_map<QString, std::shared_ptr<win32_joy_ctx::joy>>& win32_joy_ctx:
return js;
}
+
+win32_joy_ctx& win32_joy_ctx::make()
+{
+ static win32_joy_ctx ret;
+ return ret;
+}