Class SDL_GameControllerAxis

  • All Implemented Interfaces:
    JnaEnum

    public final class SDL_GameControllerAxis
    extends Object
    implements JnaEnum
    The list of axes available from a controller

    Thumbstick axis values range from SDL_JOYSTICK_AXIS_MIN to SDL_JOYSTICK_AXIS_MAX, and are centered within ~8000 of zero, though advanced UI will allow users to set or autodetect the dead zone, which varies between controllers.

    Trigger axis values range from 0 to SDL_JOYSTICK_AXIS_MAX.

    • Field Detail

      • SDL_CONTROLLER_AXIS_INVALID

        public static final int SDL_CONTROLLER_AXIS_INVALID
        See Also:
        Constant Field Values
      • SDL_CONTROLLER_AXIS_LEFTX

        public static final int SDL_CONTROLLER_AXIS_LEFTX
        See Also:
        Constant Field Values
      • SDL_CONTROLLER_AXIS_LEFTY

        public static final int SDL_CONTROLLER_AXIS_LEFTY
        See Also:
        Constant Field Values
      • SDL_CONTROLLER_AXIS_RIGHTX

        public static final int SDL_CONTROLLER_AXIS_RIGHTX
        See Also:
        Constant Field Values
      • SDL_CONTROLLER_AXIS_RIGHTY

        public static final int SDL_CONTROLLER_AXIS_RIGHTY
        See Also:
        Constant Field Values
      • SDL_CONTROLLER_AXIS_TRIGGERLEFT

        public static final int SDL_CONTROLLER_AXIS_TRIGGERLEFT
        See Also:
        Constant Field Values
      • SDL_CONTROLLER_AXIS_TRIGGERRIGHT

        public static final int SDL_CONTROLLER_AXIS_TRIGGERRIGHT
        See Also:
        Constant Field Values
      • SDL_CONTROLLER_AXIS_MAX

        public static final int SDL_CONTROLLER_AXIS_MAX
        See Also:
        Constant Field Values