value property

Offset value

Reads the current value of the joystick. A point with from (-1.0, -1.0) to (1.0, 1.0). If the joystick isn't moved it will return (0.0, 0.0).

Implementation

Offset get value => _value;