InputEvent.Pointer


object InputEvent.Pointer


Specifies the pointer type (e.g. left, right or default) of the input event.

Summary

Constants

const Int

Default pointer type for the source (no handedness).

const Int

Left hand / controller pointer.

const Int

Right hand / controller pointer.

Constants

POINTER_TYPE_DEFAULT

Added in 1.0.0-alpha05
const val POINTER_TYPE_DEFAULT = 0: Int

Default pointer type for the source (no handedness). Occurs for Source.SOURCE_UNKNOWN, Source.SOURCE_HEAD, Source.SOURCE_MOUSE, and Source.SOURCE_GAZE_AND_GESTURE.

POINTER_TYPE_LEFT

Added in 1.0.0-alpha05
const val POINTER_TYPE_LEFT = 1: Int

Left hand / controller pointer. Occurs for Source.SOURCE_CONTROLLER, Source.SOURCE_HANDS, and Source.SOURCE_GAZE_AND_GESTURE.

POINTER_TYPE_RIGHT

Added in 1.0.0-alpha05
const val POINTER_TYPE_RIGHT = 2: Int

Right hand / controller pointer. Occurs for Source.SOURCE_CONTROLLER, Source.SOURCE_HANDS, and Source.SOURCE_GAZE_AND_GESTURE.