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

Info specific to joystick peripherals. More...

#include <peripheral.h>

Public Attributes

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

Detailed Description

Info specific to joystick peripherals.

Member Data Documentation

◆ axis_count

unsigned int JOYSTICK_INFO::axis_count

number of axes reported by the driver

◆ button_count

unsigned int JOYSTICK_INFO::button_count

number of buttons reported by the driver

◆ hat_count

unsigned int JOYSTICK_INFO::hat_count

number of hats reported by the driver

◆ motor_count

unsigned int JOYSTICK_INFO::motor_count

number of motors reported by the driver

◆ peripheral

PERIPHERAL_INFO JOYSTICK_INFO::peripheral

peripheral info for this joystick

◆ provider

char* JOYSTICK_INFO::provider

name of the driver or interface providing the joystick

◆ requested_port

int JOYSTICK_INFO::requested_port

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

◆ supports_poweroff

bool JOYSTICK_INFO::supports_poweroff

whether the joystick supports being powered off


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