Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
A list populated by installed controllers for the controller configuration window. More...
#include <IConfigurationWindow.h>
Public Member Functions | |
virtual | ~IControllerList ()=default |
virtual bool | Initialize (void)=0 |
Initialize the resource. | |
virtual void | Deinitialize (void)=0 |
Deinitialize the resource. | |
virtual bool | Refresh (const std::string &controllerId)=0 |
Refresh the contents of the list. | |
virtual void | OnFocus (unsigned int controllerIndex)=0 |
virtual void | OnSelect (unsigned int controllerIndex)=0 |
The specified controller has been selected. | |
virtual int | GetFocusedController () const =0 |
Get the index of the focused controller. | |
virtual void | ResetController (void)=0 |
Reset the focused controller. | |
A list populated by installed controllers for the controller configuration window.
The configuration window presents a list of controllers. Also on the screen is a list of features (IFeatureList) belonging to that controller.
The configuration utility reacts to several events:
1) When a controller is focused, the feature list is populated with the controller's features.
2) When a feature is selected, the user is prompted for controller input. This initiates a "wizard" (IConfigurationWizard) that walks the user through the subsequent features.
3) When the wizard's active feature loses focus, the wizard is cancelled and the prompt for input ends.
|
virtualdefault |
Deinitialize the resource.
Implemented in KODI::GAME::CGUIControllerList.
|
pure virtual |
Get the index of the focused controller.
Implemented in KODI::GAME::CGUIControllerList.
Initialize the resource.
Implemented in KODI::GAME::CGUIControllerList.
Implemented in KODI::GAME::CGUIControllerList.
The specified controller has been selected.
controllerIndex | The index of the controller being selected |
Implemented in KODI::GAME::CGUIControllerList.
|
pure virtual |
Refresh the contents of the list.
controllerId | The controller to focus, or empty to leave focus unchanged |
Implemented in KODI::GAME::CGUIControllerList.
Reset the focused controller.
Implemented in KODI::GAME::CGUIControllerList.