Kodi Development
20.0
for Binary and Script based Add-Ons
Group header include
C++
»
Interface - kodi::addon
»
Addon type instances
»
Peripheral
»
2. Joystick operations
Header parts:
PERIPHERAL_ERROR
GetJoystickInfo(
unsigned
int
index,
kodi::addon::Joystick
& info)
override
;
PERIPHERAL_ERROR
GetFeatures(
const
kodi::addon::Joystick
& joystick,
const
std::string& controller_id, std::vector<kodi::addon::JoystickFeature>& features)
override
;
PERIPHERAL_ERROR
MapFeatures(
const
kodi::addon::Joystick
& joystick,
const
std::string& controller_id,
const
std::vector<kodi::addon::JoystickFeature>& features)
override
;
PERIPHERAL_ERROR
GetIgnoredPrimitives(
const
kodi::addon::Joystick
& joystick, std::vector<kodi::addon::DriverPrimitive>& primitives)
override
;
PERIPHERAL_ERROR
SetIgnoredPrimitives(
const
kodi::addon::Joystick
& joystick,
const
std::vector<kodi::addon::DriverPrimitive>& primitives)
override
;
void
SaveButtonMap(
const
kodi::addon::Joystick
& joystick)
override
;
void
RevertButtonMap(
const
kodi::addon::Joystick
& joystick)
override
;
void
ResetButtonMap(
const
kodi::addon::Joystick
& joystick,
const
std::string& controller_id)
override
;
void
PowerOffJoystick(
unsigned
int
index)
override
;
kodi::addon::Joystick
Definition:
PeripheralUtils.h:569
PERIPHERAL_ERROR
PERIPHERAL_ERROR
Definition:
peripheral.h:36
Generated by
1.9.1