Add random motion input to SDL
This commit is contained in:
parent
4d4afc1502
commit
03b574ae22
5 changed files with 230 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue