Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

Port that can provide input. More...

#include <game.h>

Public Attributes

GAME_PORT_TYPE type
 The type of port.
 
const char * port_id
 Required for GAME_PORT_CONTROLLER type.
 
bool force_connected
 Flag to prevent a port from being disconnected.
 
game_input_deviceaccepted_devices
 The list of devices that can be connected to the port.
 
unsigned int device_count
 The number of devices in the accepted devices list.
 

Detailed Description

Port that can provide input.

Member Data Documentation

◆ accepted_devices

game_input_device* game_input_port::accepted_devices

The list of devices that can be connected to the port.

◆ device_count

unsigned int game_input_port::device_count

The number of devices in the accepted devices list.

◆ 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 type of port.


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