Kodi Development  20.0
for Binary and Script based Add-Ons

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;
Definition: PeripheralUtils.h:569
PERIPHERAL_ERROR
Definition: peripheral.h:36