Skip to content

AxisHalf

Namespace: CtrlDS4

enum AxisHalf : uint8_t

Half of a stick axis, for the inputs that drive an axis in one direction only.

When both halves of an axis are driven, the axis value is the positive half minus the negative half: two buttons pressed together cancel each other.

Values

Positive

Positive = 0

From 0 to 1: right (X) or up (Y).

Negative

Negative = 1

From 0 to -1: left (X) or down (Y).