Add random motion input to SDL

This commit is contained in:
german 2020-09-17 20:26:34 -05:00
parent 4d4afc1502
commit 03b574ae22
5 changed files with 230 additions and 5 deletions

View file

@ -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;