![]() |
API Documentation
|
Stores services that allow the software to access physical hardware controllers that can be used with the system. More...
#include <ControllerInterface.h>
Signals | |
| void | controllerConnectionsChangedSignal () |
| void | findControllersSignal () |
Public Member Functions | |
| void | addController (ControllerInterface *joystick) |
| const Dictionary< UUID, ControllerInterface * > & | controllers () const |
| void | removeController (UUID id) |
| void | setDefaultWindowInstance (WindowInstance *default_window_instance) |
| void | updateStates () |
Static Public Member Functions | |
| static ControllerInterfaceManager & | Default () |
Protected Member Functions | |
| ControllerInterfaceManager () | |
Protected Attributes | |
| Thread * | m_controller_thread = nullptr |
| Dictionary< UUID, ControllerInterface * > | m_controllers |
| WindowInstance * | m_default_window_instance = nullptr |
Stores services that allow the software to access physical hardware controllers that can be used with the system.
|
protected |
| void addController | ( | ControllerInterface * | joystick | ) |
|
signal |
| const Dictionary< UUID, ControllerInterface * > & controllers | ( | ) | const |
|
static |
|
signal |
| void removeController | ( | UUID | id | ) |
| void setDefaultWindowInstance | ( | WindowInstance * | default_window_instance | ) |
| void updateStates | ( | ) |
|
protected |
|
protected |
|
protected |