GameActivityPointerAxes

#include <GameActivity.h>

Describe information about a pointer, found in a GameActivityMotionEvent.

Summary

You can read values directly from this structure, or use helper functions (GameActivityPointerAxes_getX, GameActivityPointerAxes_getY and GameActivityPointerAxes_getAxisValue).

The X axis and Y axis are enabled by default but any other axis that you want to read must be enabled first, using GameActivityPointerAxes_enableAxis.

See also: GameActivityMotionEvent

Public attributes

axisValues[GAME_ACTIVITY_POINTER_INFO_AXIS_COUNT]
float
id
int32_t
rawX
float
rawY
float

Public attributes

axisValues

float GameActivityPointerAxes::axisValues[GAME_ACTIVITY_POINTER_INFO_AXIS_COUNT]

id

int32_t GameActivityPointerAxes::id

rawX

float GameActivityPointerAxes::rawX

rawY

float GameActivityPointerAxes::rawY