|
|
| CPeripheralMouse (CPeripherals &manager, const PeripheralScanResult &scanResult, CPeripheralBus *bus) |
| |
| bool | InitialiseFeature (const PeripheralFeature feature) override |
| | Initialise one of the features of this peripheral. More...
|
| |
|
void | RegisterMouseDriverHandler (KODI::MOUSE::IMouseDriverHandler *handler, bool bPromiscuous) override |
| |
|
void | UnregisterMouseDriverHandler (KODI::MOUSE::IMouseDriverHandler *handler) override |
| |
| CDateTime | LastActive () const override |
| | Return the last time this peripheral was active. More...
|
| |
| KODI::GAME::ControllerPtr | ControllerProfile () const override |
| | Get the controller profile that best represents this peripheral. More...
|
| |
| bool | OnPosition (int x, int y) override |
| | Handle mouse position updates. More...
|
| |
| bool | OnButtonPress (KODI::MOUSE::BUTTON_ID button) override |
| | A mouse button has been pressed. More...
|
| |
| void | OnButtonRelease (KODI::MOUSE::BUTTON_ID button) override |
| | A mouse button has been released. More...
|
| |
|
| CPeripheral (CPeripherals &manager, const PeripheralScanResult &scanResult, CPeripheralBus *bus) |
| |
|
bool | operator== (const CPeripheral &right) const |
| |
|
bool | operator!= (const CPeripheral &right) const |
| |
|
bool | operator== (const PeripheralScanResult &right) const |
| |
|
bool | operator!= (const PeripheralScanResult &right) const |
| |
|
const std::string & | FileLocation (void) const |
| |
|
const std::string & | Location (void) const |
| |
|
int | VendorId (void) const |
| |
|
const char * | VendorIdAsString (void) const |
| |
|
int | ProductId (void) const |
| |
|
const char * | ProductIdAsString (void) const |
| |
|
PeripheralType | Type (void) const |
| |
|
PeripheralBusType | GetBusType (void) const |
| |
|
const std::string & | DeviceName (void) const |
| |
|
bool | IsHidden (void) const |
| |
|
void | SetHidden (bool bSetTo=true) |
| |
|
const std::string & | GetVersionInfo (void) const |
| |
| virtual std::string | GetIcon () const |
| | Get an icon for this peripheral. More...
|
| |
| bool | HasFeature (const PeripheralFeature feature) const |
| | Check whether this device has the given feature. More...
|
| |
| void | GetFeatures (std::vector< PeripheralFeature > &features) const |
| | Get all features that are supported by this device. More...
|
| |
| bool | Initialise (void) |
| | Initialises the peripheral. More...
|
| |
|
virtual void | OnUserNotification () |
| | Briefly activate a feature to notify the user.
|
| |
| virtual bool | TestFeature (PeripheralFeature feature) |
| | Briefly test one of the features of this peripheral. More...
|
| |
| virtual void | OnSettingChanged (const std::string &strChangedSetting) |
| | Called when a setting changed. More...
|
| |
|
virtual void | OnDeviceRemoved (void) |
| | Called when this device is removed, before calling the destructor.
|
| |
| virtual void | GetSubdevices (PeripheralVector &subDevices) const |
| | Get all subdevices if this device is multifunctional. More...
|
| |
| virtual bool | IsMultiFunctional (void) const |
| |
| virtual void | AddSetting (const std::string &strKey, const std::shared_ptr< const CSetting > &setting, int order) |
| | Add a setting to this peripheral. This will overwrite a previous setting with the same key. More...
|
| |
| virtual bool | HasSetting (const std::string &strKey) const |
| | Check whether a setting is known with the given key. More...
|
| |
| virtual bool | HasSettings (void) const |
| |
| virtual bool | HasConfigurableSettings (void) const |
| |
| virtual const std::string | GetSettingString (const std::string &strKey) const |
| | Get the value of a setting. More...
|
| |
|
virtual bool | SetSetting (const std::string &strKey, const std::string &strValue) |
| |
|
virtual void | SetSettingVisible (const std::string &strKey, bool bSetTo) |
| |
|
virtual bool | IsSettingVisible (const std::string &strKey) const |
| |
|
virtual int | GetSettingInt (const std::string &strKey) const |
| |
|
virtual bool | SetSetting (const std::string &strKey, int iValue) |
| |
|
virtual bool | GetSettingBool (const std::string &strKey) const |
| |
|
virtual bool | SetSetting (const std::string &strKey, bool bValue) |
| |
|
virtual float | GetSettingFloat (const std::string &strKey) const |
| |
|
virtual bool | SetSetting (const std::string &strKey, float fValue) |
| |
|
virtual void | PersistSettings (bool bExiting=false) |
| |
|
virtual void | LoadPersistedSettings (void) |
| |
|
virtual void | ResetDefaultSettings (void) |
| |
|
virtual std::vector< std::shared_ptr< CSetting > > | GetSettings (void) const |
| |
|
virtual bool | ErrorOccured (void) const |
| |
|
virtual void | RegisterJoystickDriverHandler (KODI::JOYSTICK::IDriverHandler *handler, bool bPromiscuous) |
| |
|
virtual void | UnregisterJoystickDriverHandler (KODI::JOYSTICK::IDriverHandler *handler) |
| |
|
virtual void | RegisterKeyboardDriverHandler (KODI::KEYBOARD::IKeyboardDriverHandler *handler, bool bPromiscuous) |
| |
|
virtual void | UnregisterKeyboardDriverHandler (KODI::KEYBOARD::IKeyboardDriverHandler *handler) |
| |
| void | RegisterInputHandler (KODI::JOYSTICK::IInputHandler *handler, bool bPromiscuous) override |
| | Register a handler for the provided input. More...
|
| |
| void | UnregisterInputHandler (KODI::JOYSTICK::IInputHandler *handler) override |
| | Unregister a handler. More...
|
| |
| void | RegisterKeyboardHandler (KODI::KEYBOARD::IKeyboardInputHandler *handler, bool bPromiscuous, bool forceDefaultMap) override |
| | Registers a handler to be called on keyboard input. More...
|
| |
| void | UnregisterKeyboardHandler (KODI::KEYBOARD::IKeyboardInputHandler *handler) override |
| | Unregisters handler from keyboard input. More...
|
| |
| void | RegisterMouseHandler (KODI::MOUSE::IMouseInputHandler *handler, bool bPromiscuous, bool forceDefaultMap) override |
| | Registers a handler to be called on mouse input. More...
|
| |
| void | UnregisterMouseHandler (KODI::MOUSE::IMouseInputHandler *handler) override |
| | Unregisters handler from mouse input. More...
|
| |
|
virtual void | RegisterJoystickButtonMapper (KODI::JOYSTICK::IButtonMapper *mapper) |
| |
|
virtual void | UnregisterJoystickButtonMapper (KODI::JOYSTICK::IButtonMapper *mapper) |
| |
|
virtual KODI::JOYSTICK::IDriverReceiver * | GetDriverReceiver () |
| |
|
virtual KODI::KEYMAP::IKeymap * | GetKeymap (const std::string &controllerId) |
| |
| virtual void | SetControllerProfile (const KODI::GAME::ControllerPtr &controller) |
| | Set the controller profile for this peripheral. More...
|
| |