xbmc
Public Member Functions | List of all members
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. More...
 
 CGameClientDevice (const ControllerPtr &controller)
 Construct a device from a controller add-on. More...
 
 ~CGameClientDevice ()
 Destructor.
 
const ControllerPtr & Controller () const
 The controller profile.
 
const GameClientPortVec & Ports () 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

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