kodi
Public Member Functions | List of all members
KODI::GAME::CGameServices Class Reference

Public Member Functions

 CGameServices (CControllerManager &controllerManager, RETRO::CGUIGameRenderManager &renderManager, PERIPHERALS::CPeripherals &peripheralManager, const CProfileManager &profileManager, CInputManager &inputManager)
 
ControllerPtr GetController (const std::string &controllerId)
 
ControllerPtr GetDefaultController ()
 
ControllerPtr GetDefaultKeyboard ()
 
ControllerPtr GetDefaultMouse ()
 
ControllerVector GetControllers ()
 
std::string TranslateFeature (const std::string &controllerId, const std::string &featureName)
 Translate a feature on a controller into its localized name. More...
 
std::string GetSavestatesFolder () const
 
CGameSettingsGameSettings ()
 
RETRO::CGUIGameRenderManagerGameRenderManager ()
 
CAgentInputAgentInput ()
 

Member Function Documentation

◆ TranslateFeature()

std::string CGameServices::TranslateFeature ( const std::string &  controllerId,
const std::string &  featureName 
)

Translate a feature on a controller into its localized name.

Parameters
controllerIdThe controller ID that the feature belongs to
featureNameThe 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: