11 #include "peripherals/PeripheralTypes.h" 12 #include "peripherals/bus/PeripheralBus.h" 37 bool GetAddonWithButtonMap(PeripheralAddonPtr& addon)
const;
42 bool GetAddonWithButtonMap(
const CPeripheral* device, PeripheralAddonPtr& addon)
const;
55 bool SendRumbleEvent(
const std::string& strLocation,
unsigned int motorIndex,
float magnitude);
58 bool InitializeProperties(
CPeripheral& peripheral)
override;
59 void Register(
const PeripheralPtr& peripheral)
override;
60 void GetFeatures(std::vector<PeripheralFeature>& features)
const override;
61 bool HasFeature(
const PeripheralFeature feature)
const override;
62 PeripheralPtr GetPeripheral(
const std::string& strLocation)
const override;
63 PeripheralPtr GetByPath(
const std::string& strPath)
const override;
64 bool SupportsFeature(PeripheralFeature feature)
const override;
65 unsigned int GetPeripheralsWithFeature(PeripheralVector& results,
66 const PeripheralFeature feature)
const override;
67 unsigned int GetNumberOfPeripherals(
void)
const override;
68 unsigned int GetNumberOfPeripheralsWithId(
const int iVendorId,
69 const int iProductId)
const override;
70 void GetDirectory(
const std::string& strPath,
CFileItemList& items)
const override;
71 void ProcessEvents(
void)
override;
72 void EnableButtonMapping()
override;
73 void PowerOff(
const std::string& strLocation)
override;
75 bool SplitLocation(
const std::string& strLocation,
76 PeripheralAddonPtr& addon,
77 unsigned int& peripheralIndex)
const;
86 void UnRegisterAddon(
const std::string& addonId);
88 void PromptEnableAddons(
const std::vector<std::shared_ptr<ADDON::CAddonInfo>>& disabledAddons);
90 PeripheralAddonVector m_addons;
91 PeripheralAddonVector m_failedAddons;
93 using PeripheralBusAddonPtr = std::shared_ptr<CPeripheralBusAddon>;
Definition: PeripheralTypes.h:348
Definition: RetroPlayerInput.h:15
Definition: PeripheralBusAddon.h:26
Represents a list of files.
Definition: FileItem.h:713
Definition: AddonEvents.h:18
Definition: PeripheralBus.h:34
Definition: Peripheral.h:62
Definition: GUIWindowAddonBrowser.cpp:163
Definition: Peripherals.h:49