Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
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 ControllerPtr & | Controller () const |
The controller profile. | |
const GameClientPortVec & | Ports () const |
The ports on this device. | |
Represents a device connected to a port.
CGameClientDevice::CGameClientDevice | ( | const game_input_device & | device | ) |
Construct a device.
device | The device Game API struct |
CGameClientDevice::CGameClientDevice | ( | const ControllerPtr & | controller | ) |
Construct a device from a controller add-on.
controller | The controller add-on |
|
default |
Destructor.
|
inline |
The controller profile.
|
inline |
The ports on this device.