xbmc
Classes | Typedefs
KODI Namespace Reference

Controller configuration window. More...

Classes

class  CSignalHandlerList
 
class  CSignalRegistration
 
class  ISignalHandlerData
 

Typedefs

using RegistrationIdentifierType = int
 

Detailed Description

Controller configuration window.

Controller port setup window.

The configuration window presents a list of controllers. Also on the screen is a list of features 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" 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.

The port setup window presents a list of ports and their attached controllers.

The label2 of each port is the currently-connected controller. The user selects from all controllers that the port accepts (as given by the game-addon's topology.xml file).

The controller topology is stored as a generic tree. Here we apply game logic to simplify controller selection.