Class SDL_GamepadAxis
java.lang.Object
club.doki7.sdl3.enumtype.SDL_GamepadAxis
The list of axes available on a gamepad
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 gamepads.
Trigger axis values range from 0 (released) to SDL_JOYSTICK_AXIS_MAX (fully pressed) when reported by SDL_GetGamepadAxis(). Note that this is not the same range that will be reported by the lower-level SDL_GetJoystickAxis().
Since: This enum is available since SDL 3.2.0.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
-
Field Details
-
INVALID
public static final int INVALID- See Also:
-
LEFTX
public static final int LEFTX- See Also:
-
LEFTY
public static final int LEFTY- See Also:
-
RIGHTX
public static final int RIGHTX- See Also:
-
RIGHTY
public static final int RIGHTY- See Also:
-
LEFT_TRIGGER
public static final int LEFT_TRIGGER- See Also:
-
RIGHT_TRIGGER
public static final int RIGHT_TRIGGER- See Also:
-
COUNT
public static final int COUNT- See Also:
-
-
Method Details
-
explain
-