IndirectPointerEventPrimaryDirectionalMotionAxis


The primary axis for motion from an IndirectPointerEvent. Indirect input devices such as touchpads that do not move a cursor on screen may define a primary axis for motion (such as scrolling). This facilitates the translation of a 2D input gesture into a 1D scroll on the screen. For example, an input device might be wide horizontally but narrow vertically. In such a case, it would designate X as its primary axis of motion. This means horizontal scrolling on the input device would cause a horizontal list to scroll horizontally, and a vertical list to scroll vertically - even though the direction of motion on the input device is horizontal in both cases.

Summary

Public companion properties

IndirectPointerEventPrimaryDirectionalMotionAxis

No coordinate axes specified for movement.

Cmn
IndirectPointerEventPrimaryDirectionalMotionAxis

X coordinate axis specified as the primary movement axis.

Cmn
IndirectPointerEventPrimaryDirectionalMotionAxis

Y coordinate axis specified as the primary movement axis.

Cmn

Public companion properties

None

val NoneIndirectPointerEventPrimaryDirectionalMotionAxis

No coordinate axes specified for movement.

X

val XIndirectPointerEventPrimaryDirectionalMotionAxis

X coordinate axis specified as the primary movement axis.

Y

val YIndirectPointerEventPrimaryDirectionalMotionAxis

Y coordinate axis specified as the primary movement axis.