ThumbstickValue

2D value for a controller thumbstick.

  • Range: x, y ∈ -1.0, 1.0

  • Semantics: x is horizontal, y is vertical (exact orientation depends on device mapping)

  • Frame model: current-frame snapshot; apply your own smoothing/debouncing if needed.

Constructors

Link copied to clipboard
constructor(x: Float, y: Float)

Properties

Link copied to clipboard
val x: Float

The x-axis value of the thumbstick, ranging from -1.0 to 1.0.

Link copied to clipboard
val y: Float

The y-axis value of the thumbstick, ranging from -1.0 to 1.0.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String