|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Event information. More...
#include <peripheral.h>
Public Attributes | |
| unsigned int | peripheral_index |
| Index of the peripheral handling/receiving the event. | |
| PERIPHERAL_EVENT_TYPE | type |
| Type of the event used to determine which enum field to access below. | |
| unsigned int | driver_index |
| The index of the event source. | |
| JOYSTICK_STATE_BUTTON | driver_button_state |
| JOYSTICK_STATE_HAT | driver_hat_state |
| JOYSTICK_STATE_AXIS | driver_axis_state |
| JOYSTICK_STATE_MOTOR | motor_state |
Event information.
| JOYSTICK_STATE_AXIS PERIPHERAL_EVENT::driver_axis_state |
| JOYSTICK_STATE_BUTTON PERIPHERAL_EVENT::driver_button_state |
| JOYSTICK_STATE_HAT PERIPHERAL_EVENT::driver_hat_state |
| unsigned int PERIPHERAL_EVENT::driver_index |
The index of the event source.
| JOYSTICK_STATE_MOTOR PERIPHERAL_EVENT::motor_state |
| unsigned int PERIPHERAL_EVENT::peripheral_index |
Index of the peripheral handling/receiving the event.
| PERIPHERAL_EVENT_TYPE PERIPHERAL_EVENT::type |
Type of the event used to determine which enum field to access below.