Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
The following table contains values that can be set with class PeripheralEvent :
Name | Type | Set call | Get call |
---|---|---|---|
Peripheral event type | PERIPHERAL_EVENT_TYPE | SetType | Type |
Peripheral index | unsigned int | SetPeripheralIndex | PeripheralIndex |
Peripheral event driver index | unsigned int | SetDriverIndex | DriverIndex |
Peripheral event button state | JOYSTICK_STATE_BUTTON | SetButtonState | ButtonState |
Peripheral event hat state | JOYSTICK_STATE_HAT | SetHatState | HatState |
Peripheral event axis state | JOYSTICK_STATE_AXIS (float ) | SetAxisState | AxisState |
Peripheral event motor state | JOYSTICK_STATE_MOTOR (float ) | SetMotorState | MotorState |
Further are several class constructors with values included.