GameActivityMotionEvent
#include <GameActivity.h>
Describe a motion event that happened on the GameActivity SurfaceView.
Summary
This is 1:1 mapping to the information contained in a Java MotionEvent
(see https://developer.android.com/reference/android/view/MotionEvent).
Public attributes |
|
---|---|
action
|
int32_t
|
actionButton
|
int32_t
|
buttonState
|
int32_t
|
classification
|
int32_t
|
deviceId
|
int32_t
|
downTime
|
int64_t
|
edgeFlags
|
int32_t
|
eventTime
|
int64_t
|
flags
|
int32_t
|
metaState
|
int32_t
|
pointerCount
|
uint32_t
|
pointers[GAMEACTIVITY_MAX_NUM_POINTERS_IN_MOTION_EVENT]
|
|
precisionX
|
float
|
precisionY
|
float
|
source
|
int32_t
|
Public attributes
action
int32_t GameActivityMotionEvent::action
actionButton
int32_t GameActivityMotionEvent::actionButton
buttonState
int32_t GameActivityMotionEvent::buttonState
classification
int32_t GameActivityMotionEvent::classification
deviceId
int32_t GameActivityMotionEvent::deviceId
downTime
int64_t GameActivityMotionEvent::downTime
edgeFlags
int32_t GameActivityMotionEvent::edgeFlags
eventTime
int64_t GameActivityMotionEvent::eventTime
flags
int32_t GameActivityMotionEvent::flags
metaState
int32_t GameActivityMotionEvent::metaState
pointerCount
uint32_t GameActivityMotionEvent::pointerCount
pointers
GameActivityPointerAxes GameActivityMotionEvent::pointers[GAMEACTIVITY_MAX_NUM_POINTERS_IN_MOTION_EVENT]
precisionX
float GameActivityMotionEvent::precisionX
precisionY
float GameActivityMotionEvent::precisionY
source
int32_t GameActivityMotionEvent::source