| 
    Kodi Documentation 22.0
    
   Kodi is an open source media player and entertainment hub. 
   | 
 
Peripheral add-on capabilities
This class is needed to tell Kodi which options are supported on the addon.  
More...
Classes | |
| class | kodi::addon::PeripheralCapabilities | 
Peripheral add-on capabilities
This class is needed to tell Kodi which options are supported on the addon. 
If a capability is set to true, then the corresponding methods from kodi::addon::CInstancePeripheral need to be implemented.
As default them all set to false.
Used on kodi::addon::CInstancePeripheral::GetCapabilities().
The following table contains values that can be set with class PeripheralCapabilities :
| Name | Type | Set call | Get call | 
|---|---|---|---|
| Provides joysticks | boolean    | SetProvidesJoysticks | GetProvidesJoysticks | 
| Provides joystick rumble | boolean    | SetProvidesJoystickRumble | GetProvidesJoystickRumble | 
| Provides joystick power off | boolean    | SetProvidesJoystickPowerOff | GetProvidesJoystickPowerOff | 
| Provides button maps | boolean    | SetProvidesButtonmaps | GetProvidesButtonmaps | 
      
  | 
  inline | 
To get with SetProvidesButtonmaps changed values.
      
  | 
  inline | 
To get with SetProvidesJoystickPowerOff changed values.
      
  | 
  inline | 
To get with SetProvidesJoystickRumble changed values.
      
  | 
  inline | 
To get with SetProvidesJoysticks changed values.
Set true if the add-on provides button maps.
      
  | 
  inline | 
Set true if the add-on provides power off about joystick.
      
  | 
  inline | 
Set true if the add-on provides joystick rumble.