Expand description
A wrapper around the NDK’s AInputEvent.
Most of these operations directly wrap functions in the NDK. Documentation for all NDK
functions in this module can be found
here. See also the javadocs for
android.view.InputEvent,
android.view.MotionEvent,
and android.view.KeyEvent.
Structs§
- Button
State - A bitfield representing the state of buttons during a motion event.
- Edge
Flags - A bitfield representing which edges were touched by a motion event.
- Historical
Motion Event - Represents a view into a past moment of a motion event
- Historical
Motion Events Iter - An iterator over all the historical moments in a
MotionEvent. - Historical
Pointer - A view into a pointer at a historical moment
- Historical
Pointers Iter - An iterator over the pointers in a historical motion event
- KeyEvent
- A key event.
- KeyEvent
Flags - Flags associated with
KeyEvent. - Meta
State - A bitfield representing the state of modifier keys during an event.
- Motion
Event - A motion event.
- Motion
Event Flags - Flags associated with a motion event.
- Pointer
- A view into the data of a specific pointer in a motion event.
- Pointers
Iter - An iterator over the pointers in a
MotionEvent.
Enums§
- Axis
- An axis of a motion event.
- Input
Event - A
const AInputEvent * - KeyAction
- Key actions.
- Keycode
- Key codes.
- Motion
Action - A motion action.
- Source
- An enum representing the source of an
InputEvent.