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

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
 

Detailed Description

Event information.

Member Data Documentation

◆ driver_axis_state

JOYSTICK_STATE_AXIS PERIPHERAL_EVENT::driver_axis_state

◆ driver_button_state

JOYSTICK_STATE_BUTTON PERIPHERAL_EVENT::driver_button_state

◆ driver_hat_state

JOYSTICK_STATE_HAT PERIPHERAL_EVENT::driver_hat_state

◆ driver_index

unsigned int PERIPHERAL_EVENT::driver_index

The index of the event source.

◆ motor_state

JOYSTICK_STATE_MOTOR PERIPHERAL_EVENT::motor_state

◆ peripheral_index

unsigned int PERIPHERAL_EVENT::peripheral_index

Index of the peripheral handling/receiving the event.

◆ type

PERIPHERAL_EVENT_TYPE PERIPHERAL_EVENT::type

Type of the event used to determine which enum field to access below.


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