#include <ControllerManager.h>
◆ CControllerManager()
◆ ~CControllerManager()
CControllerManager::~CControllerManager |
( |
| ) |
|
◆ 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()
Get installed controllers.
- Returns
- The installed controllers that loaded successfully
◆ GetDefaultController()
Get the default controller.
- Returns
- The default controller, or empty if the controller failed to load
◆ GetDefaultKeyboard()
Get the default keyboard.
- Returns
- The keyboard controller, or empty if the controller failed to load
◆ GetDefaultMouse()
Get the default mouse.
- Returns
- The mouse controller, or empty if the controller failed to load
◆ TranslateFeature()
std::string CControllerManager::TranslateFeature |
( |
const std::string & | controllerId, |
|
|
const std::string & | featureName ) |
Translate a feature on a controller into its localized name.
- Parameters
-
controllerId | The controller ID that the feature belongs to |
featureName | The feature name |
- Returns
- The localized feature name, or empty if the controller or feature doesn't exist
The documentation for this class was generated from the following files: