[][src]Module android_ndk::event

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

AKeyEvent

A key event.

AMotionEvent

A motion event.

ButtonState

A bitfield representing the state of buttons during a motion event.

EdgeFlags

A bitfield representing which edges were touched by a motion event.

HistoricalMotionEvent

Represents a view into a past moment of a motion event

HistoricalMotionEventsIter

An iterator over all the historical moments in an AMotionEvent.

HistoricalPointer

A view into a pointer at a historical moment

HistoricalPointersIter

An iterator over the pointers in a historical motion event

KeyEventFlags

Flags associated with AKeyEvent.

MetaState

A bitfield representing the state of modifier keys during an event.

MotionEventFlags

Flags associated with a motion event.

Pointer

A view into the data of a specific pointer in a motion event.

PointersIter

An iterator over the pointers in an AMotionEvent.

Enums

AInputEvent

A const AInputEvent *

Axis

An axis of a motion event.

KeyAction

Key actions.

Keycode

Key codes.

MotionAction

A motion action.

Source

An enum representing the source of an AInputEvent.