Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
PERIPHERALS Namespace Reference

Classes

class  CAddonButtonMap
 
class  CAddonButtonMapping
 
class  CAddonInputHandling
 
class  CAndroidJoystickState
 
class  CAndroidJoystickTranslator
 
class  CEventLockHandle
 Handle returned by the event scanner to disable event processing. More...
 
class  CEventPollHandle
 Handle returned by the event scanner to control scan timing. More...
 
class  CEventScanner
 Class to scan for peripheral events. More...
 
class  CGUIDialogPeripherals
 
class  CGUIDialogPeripheralSettings
 
class  CPeripheral
 
class  CPeripheralAddon
 
class  CPeripheralAddonTranslator
 
class  CPeripheralBluetooth
 
class  CPeripheralBus
 
class  CPeripheralBusAddon
 
class  CPeripheralBusAndroid
 
class  CPeripheralBusApplication
 
class  CPeripheralBusCEC
 
class  CPeripheralBusGCController
 
class  CPeripheralBusUSB
 
class  CPeripheralCecAdapter
 
class  CPeripheralCecAdapterReopenJob
 
class  CPeripheralDisk
 
class  CPeripheralHID
 
class  CPeripheralImon
 
class  CPeripheralJoystick
 
class  CPeripheralKeyboard
 
class  CPeripheralMouse
 
class  CPeripheralNIC
 
class  CPeripheralNyxboard
 
class  CPeripherals
 
class  CPeripheralTuner
 
class  IEventLockCallback
 Callback implemented by event scanner. More...
 
class  IEventPollCallback
 Callback implemented by event scanner. More...
 
class  IEventScannerCallback
 
struct  PeripheralDeviceMapping
 
struct  PeripheralDeviceSetting
 
struct  PeripheralID
 
class  PeripheralScanResult
 
struct  PeripheralScanResults
 
class  PeripheralTypeTranslator
 

Typedefs

typedef std::vector< kodi::addon::DriverPrimitivePrimitiveVector
 
typedef std::map< KODI::JOYSTICK::FeatureName, kodi::addon::JoystickFeatureFeatureMap
 
using PeripheralBusPtr = std::shared_ptr<CPeripheralBus>
 
using PeripheralBusVector = std::vector<PeripheralBusPtr>
 
using PeripheralBusAddonPtr = std::shared_ptr<CPeripheralBusAddon>
 
using PeripheralBusAndroidPtr = std::shared_ptr<CPeripheralBusAndroid>
 

Enumerations

enum  CecStateChange { STATE_SWITCH_TOGGLE , STATE_ACTIVATE_SOURCE , STATE_STANDBY }
 
enum  PeripheralBusType {
  PERIPHERAL_BUS_UNKNOWN = 0 , PERIPHERAL_BUS_USB , PERIPHERAL_BUS_PCI , PERIPHERAL_BUS_CEC ,
  PERIPHERAL_BUS_ADDON , PERIPHERAL_BUS_APPLICATION
}
 
enum  PeripheralFeature {
  FEATURE_UNKNOWN = 0 , FEATURE_HID , FEATURE_NIC , FEATURE_DISK ,
  FEATURE_NYXBOARD , FEATURE_CEC , FEATURE_BLUETOOTH , FEATURE_TUNER ,
  FEATURE_IMON , FEATURE_JOYSTICK , FEATURE_RUMBLE , FEATURE_POWER_OFF ,
  FEATURE_KEYBOARD , FEATURE_MOUSE
}
 
enum  PeripheralType {
  PERIPHERAL_UNKNOWN = 0 , PERIPHERAL_HID , PERIPHERAL_NIC , PERIPHERAL_DISK ,
  PERIPHERAL_NYXBOARD , PERIPHERAL_CEC , PERIPHERAL_BLUETOOTH , PERIPHERAL_TUNER ,
  PERIPHERAL_IMON , PERIPHERAL_JOYSTICK , PERIPHERAL_KEYBOARD , PERIPHERAL_MOUSE
}
 
using PeripheralPtr = std::shared_ptr<CPeripheral>
 
using PeripheralVector = std::vector<PeripheralPtr>
 
using PeripheralAddonPtr = std::shared_ptr<CPeripheralAddon>
 
using PeripheralAddonVector = std::vector<PeripheralAddonPtr>
 
using EventPollHandlePtr = std::unique_ptr<CEventPollHandle>
 
using EventLockHandlePtr = std::unique_ptr<CEventLockHandle>
 
constexpr auto JOYSTICK_NO_PORT_REQUESTED = -1
 Indicates a joystick has no preference for port number.
 

Typedef Documentation

◆ EventLockHandlePtr

◆ EventPollHandlePtr

◆ FeatureMap

◆ PeripheralAddonPtr

◆ PeripheralAddonVector

◆ PeripheralBusAddonPtr

◆ PeripheralBusAndroidPtr

◆ PeripheralBusPtr

◆ PeripheralBusVector

◆ PeripheralPtr

using PERIPHERALS::PeripheralPtr = std::shared_ptr<CPeripheral>

◆ PeripheralVector

◆ PrimitiveVector

Enumeration Type Documentation

◆ CecStateChange

Enumerator
STATE_SWITCH_TOGGLE 
STATE_ACTIVATE_SOURCE 
STATE_STANDBY 

◆ PeripheralBusType

Enumerator
PERIPHERAL_BUS_UNKNOWN 
PERIPHERAL_BUS_USB 
PERIPHERAL_BUS_PCI 
PERIPHERAL_BUS_CEC 
PERIPHERAL_BUS_ADDON 
PERIPHERAL_BUS_APPLICATION 

◆ PeripheralFeature

Enumerator
FEATURE_UNKNOWN 
FEATURE_HID 
FEATURE_NIC 
FEATURE_DISK 
FEATURE_NYXBOARD 
FEATURE_CEC 
FEATURE_BLUETOOTH 
FEATURE_TUNER 
FEATURE_IMON 
FEATURE_JOYSTICK 
FEATURE_RUMBLE 
FEATURE_POWER_OFF 
FEATURE_KEYBOARD 
FEATURE_MOUSE 

◆ PeripheralType

Enumerator
PERIPHERAL_UNKNOWN 
PERIPHERAL_HID 
PERIPHERAL_NIC 
PERIPHERAL_DISK 
PERIPHERAL_NYXBOARD 
PERIPHERAL_CEC 
PERIPHERAL_BLUETOOTH 
PERIPHERAL_TUNER 
PERIPHERAL_IMON 
PERIPHERAL_JOYSTICK 
PERIPHERAL_KEYBOARD 
PERIPHERAL_MOUSE 

Variable Documentation

◆ JOYSTICK_NO_PORT_REQUESTED

auto PERIPHERALS::JOYSTICK_NO_PORT_REQUESTED = -1
constexpr

Indicates a joystick has no preference for port number.