InputEvent.Pointer


class InputEvent.Pointer


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

Summary

Public companion properties

InputEvent.Pointer

Default pointer type for the source (no handedness).

InputEvent.Pointer

Left hand / controller pointer.

InputEvent.Pointer

Right hand / controller pointer.

Public functions

open String

Public companion properties

DEFAULT

val DEFAULT: InputEvent.Pointer

Default pointer type for the source (no handedness). Occurs for Source.UNKNOWN, Source.HEAD, Source.MOUSE, and Source.GAZE_AND_GESTURE.

LEFT

val LEFT: InputEvent.Pointer

Left hand / controller pointer. Occurs for Source.CONTROLLER, Source.HANDS, and Source.GAZE_AND_GESTURE.

RIGHT

val RIGHT: InputEvent.Pointer

Right hand / controller pointer. Occurs for Source.CONTROLLER, Source.HANDS, and Source.GAZE_AND_GESTURE.

Public functions

toString

open fun toString(): String