|
| CAndroidJoystickState (CAndroidJoystickState &&other) noexcept |
|
int | GetDeviceId () const |
|
unsigned int | GetButtonCount () const |
|
unsigned int | GetAxisCount () const |
|
bool | Initialize (const CJNIViewInputDevice &inputDevice) |
|
void | Deinitialize () |
|
bool | ProcessEvent (const AInputEvent *event) |
|
void | GetEvents (std::vector< kodi::addon::PeripheralEvent > &events) |
|
◆ Deinitialize()
void CAndroidJoystickState::Deinitialize |
( |
void |
| ) |
|
Deinitialize the joystick object. GetEvents() will not be called after deinitialization.
◆ GetEvents()
void CAndroidJoystickState::GetEvents |
( |
std::vector< kodi::addon::PeripheralEvent > & |
events | ) |
|
Get events that have occurred since the last call to GetEvents()
◆ Initialize()
bool CAndroidJoystickState::Initialize |
( |
const CJNIViewInputDevice & |
inputDevice | ) |
|
Initialize the joystick object. Joystick will be initialized before the first call to GetEvents().
◆ ProcessEvent()
bool CAndroidJoystickState::ProcessEvent |
( |
const AInputEvent * |
event | ) |
|
Processes the given input event.
The documentation for this class was generated from the following files:
- xbmc/platform/android/peripherals/AndroidJoystickState.h
- xbmc/platform/android/peripherals/AndroidJoystickState.cpp