Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.

Port that can provide input. More...

#include <game.h>

Public Attributes

GAME_PORT_TYPE type
 
const char * port_id
 Required for GAME_PORT_CONTROLLER type. More...
 
bool force_connected
 Flag to prevent a port from being disconnected. More...
 
game_input_deviceaccepted_devices
 
unsigned int device_count
 

Detailed Description

Port that can provide input.

Ports can accept multiple devices and devices can have multiple ports, so the topology of possible configurations is a tree structure of alternating port and device nodes.

Member Data Documentation

◆ accepted_devices

game_input_device* game_input_port::accepted_devices

◆ device_count

unsigned int game_input_port::device_count

◆ force_connected

bool game_input_port::force_connected

Flag to prevent a port from being disconnected.

Set to true to prevent a disconnection option from appearing in the GUI.

◆ port_id

const char* game_input_port::port_id

Required for GAME_PORT_CONTROLLER type.

◆ type

GAME_PORT_TYPE game_input_port::type

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