diff options
| author | 2020-10-08 10:18:39 -0700 | |
|---|---|---|
| committer | 2020-10-08 10:18:39 -0700 | |
| commit | 06e65de93cfa923b6fb1f12fa20193515249234d (patch) | |
| tree | 9771ca19a2686af1185f62ed7488d977d37a1703 /src/input_common/sdl/sdl_impl.h | |
| parent | Merge pull request #4765 from ReinUsesLisp/fix-sort-devices (diff) | |
| parent | Add random motion input to keyboard (diff) | |
| download | yuzu-06e65de93cfa923b6fb1f12fa20193515249234d.tar.gz yuzu-06e65de93cfa923b6fb1f12fa20193515249234d.tar.xz yuzu-06e65de93cfa923b6fb1f12fa20193515249234d.zip | |
Merge pull request #4677 from german77/ShakeFromButton
InputCommon: Add random motion input for buttons
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; |