Stay organized with collections
Save and categorize content based on your preferences.
Summary
Public attributes
|
keyEvents[NATIVE_APP_GLUE_MAX_NUM_KEY_EVENTS]
|
|
keyEventsCount
|
uint64_t
The number of valid "Key" events in keyEvents .
|
motionEvents[NATIVE_APP_GLUE_MAX_NUM_MOTION_EVENTS]
|
|
motionEventsCount
|
uint64_t
The number of valid motion events in motionEvents .
|
Public attributes
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-03-15 UTC.
[null,null,["Last updated 2022-03-15 UTC."],[],[],null,["# android_input_buffer Struct Reference\n\nandroid_input_buffer\n====================\n\nSummary\n-------\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [keyEvents](#structandroid__input__buffer_1a66d38c0e3dd3070cb1c4c285a12ec17a)`[NATIVE_APP_GLUE_MAX_NUM_KEY_EVENTS]` | [GameActivityKeyEvent](/reference/games/game-activity/struct/game-activity-key-event#struct_game_activity_key_event) Pointer to a read-only array of pointers to [GameActivityKeyEvent](/reference/games/game-activity/struct/game-activity-key-event#struct_game_activity_key_event). |\n| [keyEventsCount](#structandroid__input__buffer_1aa18360bbded2198b6caa588ec4ece781) | `uint64_t` The number of valid \"Key\" events in `keyEvents`. |\n| [motionEvents](#structandroid__input__buffer_1abb5fa41d5d126d832050bea8798367ad)`[NATIVE_APP_GLUE_MAX_NUM_MOTION_EVENTS]` | [GameActivityMotionEvent](/reference/games/game-activity/struct/game-activity-motion-event#struct_game_activity_motion_event) Pointer to a read-only array of pointers to [GameActivityMotionEvent](/reference/games/game-activity/struct/game-activity-motion-event#struct_game_activity_motion_event). |\n| [motionEventsCount](#structandroid__input__buffer_1ac66cd448e5bd142df124b40df5255cd5) | `uint64_t` The number of valid motion events in `motionEvents`. |\n\nPublic attributes\n-----------------\n\n### keyEvents\n\n```transact-sql\nGameActivityKeyEvent android_input_buffer::keyEvents[NATIVE_APP_GLUE_MAX_NUM_KEY_EVENTS]\n``` \nPointer to a read-only array of pointers to [GameActivityKeyEvent](/reference/games/game-activity/struct/game-activity-key-event#struct_game_activity_key_event).\n\nOnly the first keyEventsCount events are valid. \n\n### keyEventsCount\n\n```scdoc\nuint64_t android_input_buffer::keyEventsCount\n``` \nThe number of valid \"Key\" events in `keyEvents`. \n\n### motionEvents\n\n```transact-sql\nGameActivityMotionEvent android_input_buffer::motionEvents[NATIVE_APP_GLUE_MAX_NUM_MOTION_EVENTS]\n``` \nPointer to a read-only array of pointers to [GameActivityMotionEvent](/reference/games/game-activity/struct/game-activity-motion-event#struct_game_activity_motion_event).\n\nOnly the first motionEventsCount events are valid. \n\n### motionEventsCount\n\n```scdoc\nuint64_t android_input_buffer::motionEventsCount\n``` \nThe number of valid motion events in `motionEvents`."]]