Kodi Development  20.0
for Binary and Script based Add-Ons
JOYSTICK_INFO

Info specific to joystick peripherals. More...

Detailed Description

Info specific to joystick peripherals.

Public Attributes

unsigned int axis_count
 number of axes reported by the driver More...
 
unsigned int button_count
 number of buttons reported by the driver More...
 
unsigned int hat_count
 number of hats reported by the driver More...
 
unsigned int motor_count
 number of motors reported by the driver More...
 
PERIPHERAL_INFO peripheral
 peripheral info for this joystick More...
 
char * provider
 name of the driver or interface providing the joystick More...
 
int requested_port
 requested port number (such as for 360 controllers), or NO_PORT_REQUESTED More...
 
bool supports_poweroff
 whether the joystick supports being powered off More...
 

Member Data Documentation

◆ peripheral

PERIPHERAL_INFO peripheral

peripheral info for this joystick

◆ provider

char* provider

name of the driver or interface providing the joystick

◆ requested_port

int requested_port

requested port number (such as for 360 controllers), or NO_PORT_REQUESTED

◆ button_count

unsigned int button_count

number of buttons reported by the driver

◆ hat_count

unsigned int hat_count

number of hats reported by the driver

◆ axis_count

unsigned int axis_count

number of axes reported by the driver

◆ motor_count

unsigned int motor_count

number of motors reported by the driver

◆ supports_poweroff

bool supports_poweroff

whether the joystick supports being powered off


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