◆ GetController()
ControllerPtr CControllerManager::GetController |
( |
const std::string & |
controllerId | ) |
|
Get a controller.
A cache is used to avoid reloading controllers each time they are requested.
- Parameters
-
controllerId | The controller's ID |
- Returns
- The controller, or empty if the controller isn't installed or can't be loaded
◆ GetControllers()
ControllerVector CControllerManager::GetControllers |
( |
| ) |
|
Get installed controllers.
- Returns
- The installed controllers that loaded successfully
◆ GetDefaultController()
ControllerPtr CControllerManager::GetDefaultController |
( |
| ) |
|
Get the default controller.
- Returns
- The default controller, or empty if the controller failed to load
◆ GetDefaultKeyboard()
ControllerPtr CControllerManager::GetDefaultKeyboard |
( |
| ) |
|
Get the default keyboard.
- Returns
- The keyboard controller, or empty if the controller failed to load
◆ GetDefaultMouse()
ControllerPtr CControllerManager::GetDefaultMouse |
( |
| ) |
|
Get the default mouse.
- Returns
- The mouse controller, or empty if the controller failed to load
The documentation for this class was generated from the following files: