Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages

Device that can provide input. More...

#include <game.h>

Public Attributes

const char * controller_id
 ID used in the Kodi controller API, e.g. game.controller.default
 
const char * port_address
 The address of the port that the device is connected to.
 
struct game_input_portavailable_ports
 The list of ports that the device can be connected to.
 
unsigned int port_count
 The number of ports in the available ports list.
 

Detailed Description

Device that can provide input.

Member Data Documentation

◆ available_ports

struct game_input_port* game_input_device::available_ports

The list of ports that the device can be connected to.

◆ controller_id

const char* game_input_device::controller_id

ID used in the Kodi controller API, e.g. game.controller.default

◆ port_address

const char* game_input_device::port_address

The address of the port that the device is connected to.

◆ port_count

unsigned int game_input_device::port_count

The number of ports in the available ports list.


The documentation for this struct was generated from the following file: