Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Event add-on operation variables
Used to exchange the available options between Kodi and addon.
More...
Topics | |
enum PERIPHERAL_EVENT_TYPE | |
Event types Types of events that can be sent and received. | |
enum JOYSTICK_STATE_BUTTON | |
State button States a button can have | |
enum JOYSTICK_STATE_HAT | |
State hat States a D-pad (also called a hat) can have | |
Typedefs | |
typedef float | JOYSTICK_STATE_AXIS |
Axis value in the closed interval [-1.0, 1.0]. | |
typedef float | JOYSTICK_STATE_MOTOR |
Motor value in the closed interval [0.0, 1.0]. | |
Event add-on operation variables
Used to exchange the available options between Kodi and addon.
typedef float JOYSTICK_STATE_AXIS |
Axis value in the closed interval [-1.0, 1.0].
The axis state uses the XInput coordinate system:
typedef float JOYSTICK_STATE_MOTOR |
Motor value in the closed interval [0.0, 1.0].