diff options
| author | 2020-09-17 20:26:34 -0500 | |
|---|---|---|
| committer | 2020-09-25 17:59:52 -0500 | |
| commit | 03b574ae2272fc8465e7d38f21b198fcb1885186 (patch) | |
| tree | e6e70906677339fce1a7bedafab8d8fcb39026b4 /src/input_common/sdl/sdl_impl.h | |
| parent | Merge pull request #4717 from lioncash/debug (diff) | |
| download | yuzu-03b574ae2272fc8465e7d38f21b198fcb1885186.tar.gz yuzu-03b574ae2272fc8465e7d38f21b198fcb1885186.tar.xz yuzu-03b574ae2272fc8465e7d38f21b198fcb1885186.zip | |
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.h | 2 |
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 bd19ba61d..b9bb4dc56 100644 --- a/src/input_common/sdl/sdl_impl.h +++ b/src/input_common/sdl/sdl_impl.h | |||
| @@ -21,6 +21,7 @@ namespace InputCommon::SDL { | |||
| 21 | 21 | ||
| 22 | class SDLAnalogFactory; | 22 | class SDLAnalogFactory; |
| 23 | class SDLButtonFactory; | 23 | class SDLButtonFactory; |
| 24 | class SDLMotionFactory; | ||
| 24 | class SDLJoystick; | 25 | class SDLJoystick; |
| 25 | 26 | ||
| 26 | class SDLState : public State { | 27 | class SDLState : public State { |
| @@ -71,6 +72,7 @@ private: | |||
| 71 | 72 | ||
| 72 | std::shared_ptr<SDLButtonFactory> button_factory; | 73 | std::shared_ptr<SDLButtonFactory> button_factory; |
| 73 | std::shared_ptr<SDLAnalogFactory> analog_factory; | 74 | std::shared_ptr<SDLAnalogFactory> analog_factory; |
| 75 | std::shared_ptr<SDLMotionFactory> motion_factory; | ||
| 74 | 76 | ||
| 75 | bool start_thread = false; | 77 | bool start_thread = false; |
| 76 | std::atomic<bool> initialized = false; | 78 | std::atomic<bool> initialized = false; |