Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
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 | |
Info specific to joystick peripherals.
unsigned int JOYSTICK_INFO::axis_count |
number of axes reported by the driver
unsigned int JOYSTICK_INFO::button_count |
number of buttons reported by the driver
unsigned int JOYSTICK_INFO::hat_count |
number of hats reported by the driver
unsigned int JOYSTICK_INFO::motor_count |
number of motors reported by the driver
PERIPHERAL_INFO JOYSTICK_INFO::peripheral |
peripheral info for this joystick
char* JOYSTICK_INFO::provider |
name of the driver or interface providing the joystick
int JOYSTICK_INFO::requested_port |
requested port number (such as for 360 controllers), or NO_PORT_REQUESTED
bool JOYSTICK_INFO::supports_poweroff |
whether the joystick supports being powered off