aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.h
diff options
context:
space:
mode:
authorgerman <german@thesoftwareartisans.com>2020-09-17 20:26:34 -0500
committergerman <german@thesoftwareartisans.com>2020-09-25 17:59:52 -0500
commit03b574ae2272fc8465e7d38f21b198fcb1885186 (patch)
treee6e70906677339fce1a7bedafab8d8fcb39026b4 /src/input_common/sdl/sdl_impl.h
parent4d4afc150294483e6090626022be55b1dfdfd498 (diff)
Add random motion input to SDL
Diffstat (limited to 'src/input_common/sdl/sdl_impl.h')
-rw-r--r--src/input_common/sdl/sdl_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input_common/sdl/sdl_impl.h b/src/input_common/sdl/sdl_impl.h
index bd19ba61de..b9bb4dc562 100644
--- a/src/input_common/sdl/sdl_impl.h
+++ b/src/input_common/sdl/sdl_impl.h
@@ -21,6 +21,7 @@ namespace InputCommon::SDL {
class SDLAnalogFactory;
class SDLButtonFactory;
+class SDLMotionFactory;
class SDLJoystick;
class SDLState : public State {
@@ -71,6 +72,7 @@ private:
std::shared_ptr<SDLButtonFactory> button_factory;
std::shared_ptr<SDLAnalogFactory> analog_factory;
+ std::shared_ptr<SDLMotionFactory> motion_factory;
bool start_thread = false;
std::atomic<bool> initialized = false;