Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::GAME::CGameClientDevice Class Reference

Represents a device connected to a port. More...

#include <GameClientDevice.h>

Public Member Functions

 CGameClientDevice (const game_input_device &device)
 Construct a device.
 
 CGameClientDevice (const ControllerPtr &controller)
 Construct a device from a controller add-on.
 
 ~CGameClientDevice ()
 Destructor.
 
const ControllerPtrController () const
 The controller profile.
 
const GameClientPortVecPorts () const
 The ports on this device.
 

Detailed Description

Represents a device connected to a port.

Constructor & Destructor Documentation

◆ CGameClientDevice() [1/2]

CGameClientDevice::CGameClientDevice ( const game_input_device & device)

Construct a device.

Parameters
deviceThe device Game API struct

◆ CGameClientDevice() [2/2]

CGameClientDevice::CGameClientDevice ( const ControllerPtr & controller)

Construct a device from a controller add-on.

Parameters
controllerThe controller add-on

◆ ~CGameClientDevice()

CGameClientDevice::~CGameClientDevice ( )
default

Destructor.

Member Function Documentation

◆ Controller()

const ControllerPtr & KODI::GAME::CGameClientDevice::Controller ( ) const
inline

The controller profile.

◆ Ports()

const GameClientPortVec & KODI::GAME::CGameClientDevice::Ports ( ) const
inline

The ports on this device.


The documentation for this class was generated from the following files: