Kodi Development 22.0
for Binary and Script based Add-Ons
 
Loading...
Searching...
No Matches

Public Member Functions

JOYSTICK_STATE_AXIS AxisState (void) const
 Get axis state.
 
JOYSTICK_STATE_BUTTON ButtonState (void) const
 Get button state.
 
unsigned int DriverIndex (void) const
 Get driver index.
 
JOYSTICK_STATE_HAT HatState (void) const
 Get hat state.
 
JOYSTICK_STATE_MOTOR MotorState (void) const
 Get motor state.
 
 PeripheralEvent ()=default
 Constructor.
 
 PeripheralEvent (const PERIPHERAL_EVENT &event)
 
 PeripheralEvent (unsigned int peripheralIndex, unsigned int axisIndex, JOYSTICK_STATE_AXIS state)
 Constructor.
 
 PeripheralEvent (unsigned int peripheralIndex, unsigned int buttonIndex, JOYSTICK_STATE_BUTTON state)
 Constructor.
 
 PeripheralEvent (unsigned int peripheralIndex, unsigned int hatIndex, JOYSTICK_STATE_HAT state)
 Constructor.
 
unsigned int PeripheralIndex (void) const
 Get peripheral index.
 
void SetAxisState (JOYSTICK_STATE_AXIS state)
 Set axis state.
 
void SetButtonState (JOYSTICK_STATE_BUTTON state)
 Set button state.
 
void SetDriverIndex (unsigned int index)
 Set driver index.
 
void SetHatState (JOYSTICK_STATE_HAT state)
 Set hat state.
 
void SetMotorState (JOYSTICK_STATE_MOTOR state)
 Set motor state.
 
void SetPeripheralIndex (unsigned int index)
 Set peripheral index.
 
void SetType (PERIPHERAL_EVENT_TYPE type)
 Set type of event.
 
void ToStruct (PERIPHERAL_EVENT &event) const
 
PERIPHERAL_EVENT_TYPE Type (void) const
 Get type of event.
 

Static Public Member Functions

static void FreeStruct (PERIPHERAL_EVENT &event)
 

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