GameActivityKeyEvent

#include <GameActivity.h>

Describe a key event that happened on the GameActivity SurfaceView.

Summary

This is 1:1 mapping to the information contained in a Java KeyEvent (see https://developer.android.com/reference/android/view/KeyEvent).

Public attributes

action
int32_t
deviceId
int32_t
downTime
int64_t
eventTime
int64_t
flags
int32_t
keyCode
int32_t
metaState
int32_t
modifiers
int32_t
repeatCount
int32_t
source
int32_t

Public attributes

action

int32_t GameActivityKeyEvent::action

deviceId

int32_t GameActivityKeyEvent::deviceId

downTime

int64_t GameActivityKeyEvent::downTime

eventTime

int64_t GameActivityKeyEvent::eventTime

flags

int32_t GameActivityKeyEvent::flags

keyCode

int32_t GameActivityKeyEvent::keyCode

metaState

int32_t GameActivityKeyEvent::metaState

modifiers

int32_t GameActivityKeyEvent::modifiers

repeatCount

int32_t GameActivityKeyEvent::repeatCount

source

int32_t GameActivityKeyEvent::source