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 :
◆ SetProvidesJoysticks()
void SetProvidesJoysticks |
( |
bool |
providesJoysticks | ) |
|
|
inline |
Set true if the add-on provides joysticks.
◆ GetProvidesJoysticks()
bool GetProvidesJoysticks |
( |
| ) |
const |
|
inline |
◆ SetProvidesJoystickRumble()
void SetProvidesJoystickRumble |
( |
bool |
providesJoystickRumble | ) |
|
|
inline |
Set true if the add-on provides joystick rumble.
◆ GetProvidesJoystickRumble()
bool GetProvidesJoystickRumble |
( |
| ) |
const |
|
inline |
◆ SetProvidesJoystickPowerOff()
void SetProvidesJoystickPowerOff |
( |
bool |
providesJoystickPowerOff | ) |
|
|
inline |
Set true if the add-on provides power off about joystick.
◆ GetProvidesJoystickPowerOff()
bool GetProvidesJoystickPowerOff |
( |
| ) |
const |
|
inline |
◆ SetProvidesButtonmaps()
void SetProvidesButtonmaps |
( |
bool |
providesButtonmaps | ) |
|
|
inline |
Set true if the add-on provides button maps.
◆ GetProvidesButtonmaps()
bool GetProvidesButtonmaps |
( |
| ) |
const |
|
inline |