setStickAxis method

void setStickAxis(
  1. double x,
  2. double y
)

Sets the analogue movement axis, for a stick or a d-pad.

Implementation

void setStickAxis(double x, double y) {
  if (muted) return;
  _stickAxis.setValues(x, y);
  _recomputeMoveAxis();
}