|
| CPeripheralAddon (const ADDON::AddonInfoPtr &addonInfo, CPeripherals &manager) |
|
bool | CreateAddon (void) |
| Initialise the instance of this add-on.
|
|
void | DestroyAddon () |
| Deinitialize the instance of this add-on.
|
|
bool | Register (unsigned int peripheralIndex, const PeripheralPtr &peripheral) |
|
void | UnregisterRemovedDevices (const PeripheralScanResults &results, PeripheralVector &removedPeripherals) |
|
void | GetFeatures (std::vector< PeripheralFeature > &features) const |
|
bool | HasFeature (const PeripheralFeature feature) const |
|
PeripheralPtr | GetPeripheral (unsigned int index) const |
|
PeripheralPtr | GetByPath (const std::string &strPath) const |
|
bool | SupportsFeature (PeripheralFeature feature) const |
|
unsigned int | GetPeripheralsWithFeature (PeripheralVector &results, const PeripheralFeature feature) const |
|
unsigned int | GetNumberOfPeripherals (void) const |
|
unsigned int | GetNumberOfPeripheralsWithId (const int iVendorId, const int iProductId) const |
|
void | GetDirectory (const std::string &strPath, CFileItemList &items) const |
|
void | RegisterButtonMap (CPeripheral *device, KODI::JOYSTICK::IButtonMap *buttonMap) |
|
void | UnregisterButtonMap (KODI::JOYSTICK::IButtonMap *buttonMap) |
|
|
bool | PerformDeviceScan (PeripheralScanResults &results) |
|
bool | ProcessEvents (void) |
|
bool | SendRumbleEvent (unsigned int index, unsigned int driverIndex, float magnitude) |
|
|
bool | GetJoystickProperties (unsigned int index, CPeripheralJoystick &joystick) |
|
bool | HasButtonMaps (void) const |
|
bool | GetAppearance (const CPeripheral *device, std::string &controllerId) |
|
bool | SetAppearance (const CPeripheral *device, const std::string &controllerId) |
|
bool | GetFeatures (const CPeripheral *device, const std::string &strControllerId, FeatureMap &features) |
|
bool | MapFeature (const CPeripheral *device, const std::string &strControllerId, const kodi::addon::JoystickFeature &feature) |
|
bool | GetIgnoredPrimitives (const CPeripheral *device, PrimitiveVector &primitives) |
|
bool | SetIgnoredPrimitives (const CPeripheral *device, const PrimitiveVector &primitives) |
|
void | SaveButtonMap (const CPeripheral *device) |
|
void | RevertButtonMap (const CPeripheral *device) |
|
void | ResetButtonMap (const CPeripheral *device, const std::string &strControllerId) |
|
void | PowerOffJoystick (unsigned int index) |
|
Public Member Functions inherited from ADDON::IAddonInstanceHandler |
| IAddonInstanceHandler (ADDON_TYPE type, const AddonInfoPtr &addonInfo, AddonInstanceId instanceId=ADDON_INSTANCE_ID_UNUSED, KODI_HANDLE parentInstance=nullptr, const std::string &uniqueWorkID="") |
| Class constructor for handling add-on instance processes, allowing an add-on to handle multiple work simultaneously and independently. More...
|
|
ADDON_TYPE | UsedType () const |
|
AddonInstanceId | InstanceId () const |
|
const std::string & | UniqueWorkID () |
|
std::string | ID () const |
|
std::string | Name () const |
|
std::string | Author () const |
|
std::string | Icon () const |
|
std::string | Path () const |
|
std::string | Profile () const |
|
CAddonVersion | Version () const |
|
ADDON_STATUS | CreateInstance () |
|
void | DestroyInstance () |
|
const AddonDllPtr & | Addon () const |
|
AddonInfoPtr | GetAddonInfo () const |
|
virtual void | OnPreInstall () |
|
virtual void | OnPostInstall (bool update, bool modal) |
|
virtual void | OnPreUnInstall () |
|
virtual void | OnPostUnInstall () |
|