Class SDL_GameControllerAxis
- java.lang.Object
-
- io.github.libsdl4j.api.gamecontroller.SDL_GameControllerAxis
-
- All Implemented Interfaces:
JnaEnum
public final class SDL_GameControllerAxis extends Object implements JnaEnum
The list of axes available from a controllerThumbstick 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 Summary
Fields Modifier and Type Field Description static int
SDL_CONTROLLER_AXIS_INVALID
static int
SDL_CONTROLLER_AXIS_LEFTX
static int
SDL_CONTROLLER_AXIS_LEFTY
static int
SDL_CONTROLLER_AXIS_MAX
static int
SDL_CONTROLLER_AXIS_RIGHTX
static int
SDL_CONTROLLER_AXIS_RIGHTY
static int
SDL_CONTROLLER_AXIS_TRIGGERLEFT
static int
SDL_CONTROLLER_AXIS_TRIGGERRIGHT
-
-
-
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
-
-