Enum GamepadAxis
An analogue stick or trigger axis.
public enum GamepadAxis
Fields
LeftTrigger = 5The left trigger, from 0 released to 1 pressed.
LeftX = 1The left stick, horizontal: -1 at the left to 1 at the right.
LeftY = 2The left stick, vertical: -1 at the bottom to 1 at the top.
RightTrigger = 6The right trigger, from 0 released to 1 pressed.
RightX = 3The right stick, horizontal: -1 at the left to 1 at the right.
RightY = 4The right stick, vertical: -1 at the bottom to 1 at the top.
Unknown = 0An axis SDL does not map.