aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/main.h
diff options
context:
space:
mode:
authorJames Rowe <jroweboy@gmail.com>2018-09-20 00:28:05 -0600
committerfearlessTobi <thm.frey@gmail.com>2019-03-02 19:09:34 +0100
commita15f8a9936c7238dadd76c3f4590f552fe425a70 (patch)
treebeed8a86e7b7e02e0c5526723bbf812920341d12 /src/input_common/main.h
parent408b20b3d2a19e6ce7629764982f59552b3de442 (diff)
Input: Remove global variables from SDL Input
Changes the interface as well to remove any unique methods that frontends needed to call such as StartJoystickEventHandler by conditionally starting the polling thread only if the frontend hasn't started it already. Additionally, moves all global state into a single SDLState class in order to guarantee that the destructors are called in the proper order
Diffstat (limited to 'src/input_common/main.h')
-rw-r--r--src/input_common/main.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/input_common/main.h b/src/input_common/main.h
index 9eb13106e5..77a0ce90b2 100644
--- a/src/input_common/main.h
+++ b/src/input_common/main.h
@@ -20,8 +20,6 @@ void Init();
/// Deregisters all built-in input device factories and shuts them down.
void Shutdown();
-void StartJoystickEventHandler();
-
class Keyboard;
/// Gets the keyboard button device factory.