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