android_input_buffer

Summary

Public attributes

keyEvents[NATIVE_APP_GLUE_MAX_NUM_KEY_EVENTS]
Pointer to a read-only array of pointers to GameActivityKeyEvent.
keyEventsCount
uint64_t
The number of valid "Key" events in keyEvents.
motionEvents[NATIVE_APP_GLUE_MAX_NUM_MOTION_EVENTS]
Pointer to a read-only array of pointers to GameActivityMotionEvent.
motionEventsCount
uint64_t
The number of valid motion events in motionEvents.

Public attributes

keyEvents

GameActivityKeyEvent android_input_buffer::keyEvents[NATIVE_APP_GLUE_MAX_NUM_KEY_EVENTS]

Pointer to a read-only array of pointers to GameActivityKeyEvent.

Only the first keyEventsCount events are valid.

keyEventsCount

uint64_t android_input_buffer::keyEventsCount

The number of valid "Key" events in keyEvents.

motionEvents

GameActivityMotionEvent android_input_buffer::motionEvents[NATIVE_APP_GLUE_MAX_NUM_MOTION_EVENTS]

Pointer to a read-only array of pointers to GameActivityMotionEvent.

Only the first motionEventsCount events are valid.

motionEventsCount

uint64_t android_input_buffer::motionEventsCount

The number of valid motion events in motionEvents.