Package org.lwjgl.sdl
Class SDLGamepad
java.lang.Object
org.lwjgl.sdl.SDLGamepad
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Contains the function pointers loaded fromSDL.getLibrary()
. -
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
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
nSDL_AddGamepadMapping
(long mapping) int SDL_AddGamepadMapping(char const * mapping)
static int
nSDL_AddGamepadMappingsFromFile
(long file) int SDL_AddGamepadMappingsFromFile(char const * file)
static long
nSDL_GetGamepadAppleSFSymbolsNameForAxis
(long gamepad, int axis) char const * SDL_GetGamepadAppleSFSymbolsNameForAxis(SDL_Gamepad * gamepad, SDL_GamepadAxis axis)
static long
nSDL_GetGamepadAppleSFSymbolsNameForButton
(long gamepad, int button) char const * SDL_GetGamepadAppleSFSymbolsNameForButton(SDL_Gamepad * gamepad, SDL_GamepadButton button)
static int
nSDL_GetGamepadAxisFromString
(long str) SDL_GamepadAxis SDL_GetGamepadAxisFromString(char const * str)
static long
nSDL_GetGamepadBindings
(long gamepad, long count) SDL_GamepadBinding ** SDL_GetGamepadBindings(SDL_Gamepad * gamepad, int * count)
static int
nSDL_GetGamepadButtonFromString
(long str) SDL_GamepadButton SDL_GetGamepadButtonFromString(char const * str)
static void
nSDL_GetGamepadGUIDForID
(int instance_id, long __result) SDL_GUID SDL_GetGamepadGUIDForID(SDL_JoystickID instance_id)
static long
nSDL_GetGamepadMapping
(long gamepad) char * SDL_GetGamepadMapping(SDL_Gamepad * gamepad)
static long
nSDL_GetGamepadMappingForGUID
(long guid) char * SDL_GetGamepadMappingForGUID(SDL_GUID guid)
static long
nSDL_GetGamepadMappingForID
(int instance_id) char * SDL_GetGamepadMappingForID(SDL_JoystickID instance_id)
static long
nSDL_GetGamepadMappings
(long count) char ** SDL_GetGamepadMappings(int * count)
static long
nSDL_GetGamepadName
(long gamepad) char const * SDL_GetGamepadName(SDL_Gamepad * gamepad)
static long
nSDL_GetGamepadNameForID
(int instance_id) char const * SDL_GetGamepadNameForID(SDL_JoystickID instance_id)
static long
nSDL_GetGamepadPath
(long gamepad) char const * SDL_GetGamepadPath(SDL_Gamepad * gamepad)
static long
nSDL_GetGamepadPathForID
(int instance_id) char const * SDL_GetGamepadPathForID(SDL_JoystickID instance_id)
static int
nSDL_GetGamepadPowerInfo
(long gamepad, long percent) SDL_PowerState SDL_GetGamepadPowerInfo(SDL_Gamepad * gamepad, int * percent)
static long
nSDL_GetGamepads
(long count) SDL_JoystickID * SDL_GetGamepads(int * count)
static boolean
nSDL_GetGamepadSensorData
(long gamepad, int type, long data, int num_values) bool SDL_GetGamepadSensorData(SDL_Gamepad * gamepad, SDL_SensorType type, float * data, int num_values)
static long
nSDL_GetGamepadSerial
(long gamepad) char const * SDL_GetGamepadSerial(SDL_Gamepad * gamepad)
static long
nSDL_GetGamepadStringForAxis
(int axis) char const * SDL_GetGamepadStringForAxis(SDL_GamepadAxis axis)
static long
nSDL_GetGamepadStringForButton
(int button) char const * SDL_GetGamepadStringForButton(SDL_GamepadButton button)
static long
nSDL_GetGamepadStringForType
(int type) char const * SDL_GetGamepadStringForType(SDL_GamepadType type)
static boolean
nSDL_GetGamepadTouchpadFinger
(long gamepad, int touchpad, int finger, long down, long x, long y, long pressure) bool SDL_GetGamepadTouchpadFinger(SDL_Gamepad * gamepad, int touchpad, int finger, bool * down, float * x, float * y, float * pressure)
static int
nSDL_GetGamepadTypeFromString
(long str) SDL_GamepadType SDL_GetGamepadTypeFromString(char const * str)
static boolean
nSDL_SendGamepadEffect
(long gamepad, long data, int size) bool SDL_SendGamepadEffect(SDL_Gamepad * gamepad, void const * data, int size)
static boolean
nSDL_SetGamepadMapping
(int instance_id, long mapping) bool SDL_SetGamepadMapping(SDL_JoystickID instance_id, char const * mapping)
static int
SDL_AddGamepadMapping
(CharSequence mapping) int SDL_AddGamepadMapping(char const * mapping)
static int
SDL_AddGamepadMapping
(ByteBuffer mapping) int SDL_AddGamepadMapping(char const * mapping)
static int
int SDL_AddGamepadMappingsFromFile(char const * file)
static int
int SDL_AddGamepadMappingsFromFile(char const * file)
static int
SDL_AddGamepadMappingsFromIO
(long src, boolean closeio) int SDL_AddGamepadMappingsFromIO(SDL_IOStream * src, bool closeio)
static void
SDL_CloseGamepad
(long gamepad) void SDL_CloseGamepad(SDL_Gamepad * gamepad)
static boolean
SDL_GamepadConnected
(long gamepad) bool SDL_GamepadConnected(SDL_Gamepad * gamepad)
static boolean
bool SDL_GamepadEventsEnabled(void)
static boolean
SDL_GamepadHasAxis
(long gamepad, int axis) bool SDL_GamepadHasAxis(SDL_Gamepad * gamepad, SDL_GamepadAxis axis)
static boolean
SDL_GamepadHasButton
(long gamepad, int button) bool SDL_GamepadHasButton(SDL_Gamepad * gamepad, SDL_GamepadButton button)
static boolean
SDL_GamepadHasSensor
(long gamepad, int type) bool SDL_GamepadHasSensor(SDL_Gamepad * gamepad, SDL_SensorType type)
static boolean
SDL_GamepadSensorEnabled
(long gamepad, int type) bool SDL_GamepadSensorEnabled(SDL_Gamepad * gamepad, SDL_SensorType type)
static @Nullable String
SDL_GetGamepadAppleSFSymbolsNameForAxis
(long gamepad, int axis) char const * SDL_GetGamepadAppleSFSymbolsNameForAxis(SDL_Gamepad * gamepad, SDL_GamepadAxis axis)
static @Nullable String
SDL_GetGamepadAppleSFSymbolsNameForButton
(long gamepad, int button) char const * SDL_GetGamepadAppleSFSymbolsNameForButton(SDL_Gamepad * gamepad, SDL_GamepadButton button)
static short
SDL_GetGamepadAxis
(long gamepad, int axis) Sint16 SDL_GetGamepadAxis(SDL_Gamepad * gamepad, SDL_GamepadAxis axis)
static int
SDL_GamepadAxis SDL_GetGamepadAxisFromString(char const * str)
static int
SDL_GamepadAxis SDL_GetGamepadAxisFromString(char const * str)
static @Nullable PointerBuffer
SDL_GetGamepadBindings
(long gamepad) SDL_GamepadBinding ** SDL_GetGamepadBindings(SDL_Gamepad * gamepad, int * count)
static boolean
SDL_GetGamepadButton
(long gamepad, int button) bool SDL_GetGamepadButton(SDL_Gamepad * gamepad, SDL_GamepadButton button)
static int
SDL_GamepadButton SDL_GetGamepadButtonFromString(char const * str)
static int
SDL_GamepadButton SDL_GetGamepadButtonFromString(char const * str)
static int
SDL_GetGamepadButtonLabel
(long gamepad, int button) SDL_GamepadButtonLabel SDL_GetGamepadButtonLabel(SDL_Gamepad * gamepad, SDL_GamepadButton button)
static int
SDL_GetGamepadButtonLabelForType
(int type, int button) SDL_GamepadButtonLabel SDL_GetGamepadButtonLabelForType(SDL_GamepadType type, SDL_GamepadButton button)
static int
SDL_GetGamepadConnectionState
(long gamepad) SDL_JoystickConnectionState SDL_GetGamepadConnectionState(SDL_Gamepad * gamepad)
static short
SDL_GetGamepadFirmwareVersion
(long gamepad) Uint16 SDL_GetGamepadFirmwareVersion(SDL_Gamepad * gamepad)
static long
SDL_GetGamepadFromID
(int instance_id) SDL_Gamepad * SDL_GetGamepadFromID(SDL_JoystickID instance_id)
static long
SDL_GetGamepadFromPlayerIndex
(int player_index) SDL_Gamepad * SDL_GetGamepadFromPlayerIndex(int player_index)
static SDL_GUID
SDL_GetGamepadGUIDForID
(int instance_id, SDL_GUID __result) SDL_GUID SDL_GetGamepadGUIDForID(SDL_JoystickID instance_id)
static int
SDL_GetGamepadID
(long gamepad) SDL_JoystickID SDL_GetGamepadID(SDL_Gamepad * gamepad)
static long
SDL_GetGamepadJoystick
(long gamepad) SDL_Joystick * SDL_GetGamepadJoystick(SDL_Gamepad * gamepad)
static @Nullable String
SDL_GetGamepadMapping
(long gamepad) char * SDL_GetGamepadMapping(SDL_Gamepad * gamepad)
static @Nullable String
char * SDL_GetGamepadMappingForGUID(SDL_GUID guid)
static @Nullable String
SDL_GetGamepadMappingForID
(int instance_id) char * SDL_GetGamepadMappingForID(SDL_JoystickID instance_id)
static @Nullable PointerBuffer
char ** SDL_GetGamepadMappings(int * count)
static @Nullable String
SDL_GetGamepadName
(long gamepad) char const * SDL_GetGamepadName(SDL_Gamepad * gamepad)
static @Nullable String
SDL_GetGamepadNameForID
(int instance_id) char const * SDL_GetGamepadNameForID(SDL_JoystickID instance_id)
static @Nullable String
SDL_GetGamepadPath
(long gamepad) char const * SDL_GetGamepadPath(SDL_Gamepad * gamepad)
static @Nullable String
SDL_GetGamepadPathForID
(int instance_id) char const * SDL_GetGamepadPathForID(SDL_JoystickID instance_id)
static int
SDL_GetGamepadPlayerIndex
(long gamepad) int SDL_GetGamepadPlayerIndex(SDL_Gamepad * gamepad)
static int
SDL_GetGamepadPlayerIndexForID
(int instance_id) int SDL_GetGamepadPlayerIndexForID(SDL_JoystickID instance_id)
static int
SDL_GetGamepadPowerInfo
(long gamepad, @Nullable IntBuffer percent) SDL_PowerState SDL_GetGamepadPowerInfo(SDL_Gamepad * gamepad, int * percent)
static short
SDL_GetGamepadProduct
(long gamepad) Uint16 SDL_GetGamepadProduct(SDL_Gamepad * gamepad)
static short
SDL_GetGamepadProductForID
(int instance_id) Uint16 SDL_GetGamepadProductForID(SDL_JoystickID instance_id)
static short
SDL_GetGamepadProductVersion
(long gamepad) Uint16 SDL_GetGamepadProductVersion(SDL_Gamepad * gamepad)
static short
SDL_GetGamepadProductVersionForID
(int instance_id) Uint16 SDL_GetGamepadProductVersionForID(SDL_JoystickID instance_id)
static int
SDL_GetGamepadProperties
(long gamepad) SDL_PropertiesID SDL_GetGamepadProperties(SDL_Gamepad * gamepad)
static @Nullable IntBuffer
SDL_JoystickID * SDL_GetGamepads(int * count)
static boolean
SDL_GetGamepadSensorData
(long gamepad, int type, FloatBuffer data) bool SDL_GetGamepadSensorData(SDL_Gamepad * gamepad, SDL_SensorType type, float * data, int num_values)
static float
SDL_GetGamepadSensorDataRate
(long gamepad, int type) float SDL_GetGamepadSensorDataRate(SDL_Gamepad * gamepad, SDL_SensorType type)
static @Nullable String
SDL_GetGamepadSerial
(long gamepad) char const * SDL_GetGamepadSerial(SDL_Gamepad * gamepad)
static long
SDL_GetGamepadSteamHandle
(long gamepad) Uint64 SDL_GetGamepadSteamHandle(SDL_Gamepad * gamepad)
static @Nullable String
SDL_GetGamepadStringForAxis
(int axis) char const * SDL_GetGamepadStringForAxis(SDL_GamepadAxis axis)
static @Nullable String
SDL_GetGamepadStringForButton
(int button) char const * SDL_GetGamepadStringForButton(SDL_GamepadButton button)
static @Nullable String
SDL_GetGamepadStringForType
(int type) char const * SDL_GetGamepadStringForType(SDL_GamepadType type)
static boolean
SDL_GetGamepadTouchpadFinger
(long gamepad, int touchpad, int finger, @Nullable ByteBuffer down, @Nullable FloatBuffer x, @Nullable FloatBuffer y, @Nullable FloatBuffer pressure) bool SDL_GetGamepadTouchpadFinger(SDL_Gamepad * gamepad, int touchpad, int finger, bool * down, float * x, float * y, float * pressure)
static int
SDL_GetGamepadType
(long gamepad) SDL_GamepadType SDL_GetGamepadType(SDL_Gamepad * gamepad)
static int
SDL_GetGamepadTypeForID
(int instance_id) SDL_GamepadType SDL_GetGamepadTypeForID(SDL_JoystickID instance_id)
static int
SDL_GamepadType SDL_GetGamepadTypeFromString(char const * str)
static int
SDL_GamepadType SDL_GetGamepadTypeFromString(char const * str)
static short
SDL_GetGamepadVendor
(long gamepad) Uint16 SDL_GetGamepadVendor(SDL_Gamepad * gamepad)
static short
SDL_GetGamepadVendorForID
(int instance_id) Uint16 SDL_GetGamepadVendorForID(SDL_JoystickID instance_id)
static int
SDL_GetNumGamepadTouchpadFingers
(long gamepad, int touchpad) int SDL_GetNumGamepadTouchpadFingers(SDL_Gamepad * gamepad, int touchpad)
static int
SDL_GetNumGamepadTouchpads
(long gamepad) int SDL_GetNumGamepadTouchpads(SDL_Gamepad * gamepad)
static int
SDL_GetRealGamepadType
(long gamepad) SDL_GamepadType SDL_GetRealGamepadType(SDL_Gamepad * gamepad)
static int
SDL_GetRealGamepadTypeForID
(int instance_id) SDL_GamepadType SDL_GetRealGamepadTypeForID(SDL_JoystickID instance_id)
static boolean
bool SDL_HasGamepad(void)
static boolean
SDL_IsGamepad
(int instance_id) bool SDL_IsGamepad(SDL_JoystickID instance_id)
static long
SDL_OpenGamepad
(int instance_id) SDL_Gamepad * SDL_OpenGamepad(SDL_JoystickID instance_id)
static boolean
bool SDL_ReloadGamepadMappings(void)
static boolean
SDL_RumbleGamepad
(long gamepad, short low_frequency_rumble, short high_frequency_rumble, int duration_ms) bool SDL_RumbleGamepad(SDL_Gamepad * gamepad, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble, Uint32 duration_ms)
static boolean
SDL_RumbleGamepadTriggers
(long gamepad, short left_rumble, short right_rumble, int duration_ms) bool SDL_RumbleGamepadTriggers(SDL_Gamepad * gamepad, Uint16 left_rumble, Uint16 right_rumble, Uint32 duration_ms)
static boolean
SDL_SendGamepadEffect
(long gamepad, ByteBuffer data) bool SDL_SendGamepadEffect(SDL_Gamepad * gamepad, void const * data, int size)
static void
SDL_SetGamepadEventsEnabled
(boolean enabled) void SDL_SetGamepadEventsEnabled(bool enabled)
static boolean
SDL_SetGamepadLED
(long gamepad, byte red, byte green, byte blue) bool SDL_SetGamepadLED(SDL_Gamepad * gamepad, Uint8 red, Uint8 green, Uint8 blue)
static boolean
SDL_SetGamepadMapping
(int instance_id, CharSequence mapping) bool SDL_SetGamepadMapping(SDL_JoystickID instance_id, char const * mapping)
static boolean
SDL_SetGamepadMapping
(int instance_id, ByteBuffer mapping) bool SDL_SetGamepadMapping(SDL_JoystickID instance_id, char const * mapping)
static boolean
SDL_SetGamepadPlayerIndex
(long gamepad, int player_index) bool SDL_SetGamepadPlayerIndex(SDL_Gamepad * gamepad, int player_index)
static boolean
SDL_SetGamepadSensorEnabled
(long gamepad, int type, boolean enabled) bool SDL_SetGamepadSensorEnabled(SDL_Gamepad * gamepad, SDL_SensorType type, bool enabled)
static void
void SDL_UpdateGamepads(void)
-
Field Details
-
SDL_PROP_GAMEPAD_CAP_MONO_LED_BOOLEAN
- See Also:
-
SDL_PROP_GAMEPAD_CAP_RGB_LED_BOOLEAN
- See Also:
-
SDL_PROP_GAMEPAD_CAP_PLAYER_LED_BOOLEAN
- See Also:
-
SDL_PROP_GAMEPAD_CAP_RUMBLE_BOOLEAN
- See Also:
-
SDL_PROP_GAMEPAD_CAP_TRIGGER_RUMBLE_BOOLEAN
- See Also:
-
SDL_GAMEPAD_TYPE_UNKNOWN
public static final int SDL_GAMEPAD_TYPE_UNKNOWN- See Also:
-
SDL_GAMEPAD_TYPE_STANDARD
public static final int SDL_GAMEPAD_TYPE_STANDARD- See Also:
-
SDL_GAMEPAD_TYPE_XBOX360
public static final int SDL_GAMEPAD_TYPE_XBOX360- See Also:
-
SDL_GAMEPAD_TYPE_XBOXONE
public static final int SDL_GAMEPAD_TYPE_XBOXONE- See Also:
-
SDL_GAMEPAD_TYPE_PS3
public static final int SDL_GAMEPAD_TYPE_PS3- See Also:
-
SDL_GAMEPAD_TYPE_PS4
public static final int SDL_GAMEPAD_TYPE_PS4- See Also:
-
SDL_GAMEPAD_TYPE_PS5
public static final int SDL_GAMEPAD_TYPE_PS5- See Also:
-
SDL_GAMEPAD_TYPE_NINTENDO_SWITCH_PRO
public static final int SDL_GAMEPAD_TYPE_NINTENDO_SWITCH_PRO- See Also:
-
SDL_GAMEPAD_TYPE_NINTENDO_SWITCH_JOYCON_LEFT
public static final int SDL_GAMEPAD_TYPE_NINTENDO_SWITCH_JOYCON_LEFT- See Also:
-
SDL_GAMEPAD_TYPE_NINTENDO_SWITCH_JOYCON_RIGHT
public static final int SDL_GAMEPAD_TYPE_NINTENDO_SWITCH_JOYCON_RIGHT- See Also:
-
SDL_GAMEPAD_TYPE_NINTENDO_SWITCH_JOYCON_PAIR
public static final int SDL_GAMEPAD_TYPE_NINTENDO_SWITCH_JOYCON_PAIR- See Also:
-
SDL_GAMEPAD_TYPE_COUNT
public static final int SDL_GAMEPAD_TYPE_COUNT- See Also:
-
SDL_GAMEPAD_BUTTON_INVALID
public static final int SDL_GAMEPAD_BUTTON_INVALID- See Also:
-
SDL_GAMEPAD_BUTTON_SOUTH
public static final int SDL_GAMEPAD_BUTTON_SOUTH- See Also:
-
SDL_GAMEPAD_BUTTON_EAST
public static final int SDL_GAMEPAD_BUTTON_EAST- See Also:
-
SDL_GAMEPAD_BUTTON_WEST
public static final int SDL_GAMEPAD_BUTTON_WEST- See Also:
-
SDL_GAMEPAD_BUTTON_NORTH
public static final int SDL_GAMEPAD_BUTTON_NORTH- See Also:
-
SDL_GAMEPAD_BUTTON_BACK
public static final int SDL_GAMEPAD_BUTTON_BACK- See Also:
-
SDL_GAMEPAD_BUTTON_GUIDE
public static final int SDL_GAMEPAD_BUTTON_GUIDE- See Also:
-
SDL_GAMEPAD_BUTTON_START
public static final int SDL_GAMEPAD_BUTTON_START- See Also:
-
SDL_GAMEPAD_BUTTON_LEFT_STICK
public static final int SDL_GAMEPAD_BUTTON_LEFT_STICK- See Also:
-
SDL_GAMEPAD_BUTTON_RIGHT_STICK
public static final int SDL_GAMEPAD_BUTTON_RIGHT_STICK- See Also:
-
SDL_GAMEPAD_BUTTON_LEFT_SHOULDER
public static final int SDL_GAMEPAD_BUTTON_LEFT_SHOULDER- See Also:
-
SDL_GAMEPAD_BUTTON_RIGHT_SHOULDER
public static final int SDL_GAMEPAD_BUTTON_RIGHT_SHOULDER- See Also:
-
SDL_GAMEPAD_BUTTON_DPAD_UP
public static final int SDL_GAMEPAD_BUTTON_DPAD_UP- See Also:
-
SDL_GAMEPAD_BUTTON_DPAD_DOWN
public static final int SDL_GAMEPAD_BUTTON_DPAD_DOWN- See Also:
-
SDL_GAMEPAD_BUTTON_DPAD_LEFT
public static final int SDL_GAMEPAD_BUTTON_DPAD_LEFT- See Also:
-
SDL_GAMEPAD_BUTTON_DPAD_RIGHT
public static final int SDL_GAMEPAD_BUTTON_DPAD_RIGHT- See Also:
-
SDL_GAMEPAD_BUTTON_MISC1
public static final int SDL_GAMEPAD_BUTTON_MISC1- See Also:
-
SDL_GAMEPAD_BUTTON_RIGHT_PADDLE1
public static final int SDL_GAMEPAD_BUTTON_RIGHT_PADDLE1- See Also:
-
SDL_GAMEPAD_BUTTON_LEFT_PADDLE1
public static final int SDL_GAMEPAD_BUTTON_LEFT_PADDLE1- See Also:
-
SDL_GAMEPAD_BUTTON_RIGHT_PADDLE2
public static final int SDL_GAMEPAD_BUTTON_RIGHT_PADDLE2- See Also:
-
SDL_GAMEPAD_BUTTON_LEFT_PADDLE2
public static final int SDL_GAMEPAD_BUTTON_LEFT_PADDLE2- See Also:
-
SDL_GAMEPAD_BUTTON_TOUCHPAD
public static final int SDL_GAMEPAD_BUTTON_TOUCHPAD- See Also:
-
SDL_GAMEPAD_BUTTON_MISC2
public static final int SDL_GAMEPAD_BUTTON_MISC2- See Also:
-
SDL_GAMEPAD_BUTTON_MISC3
public static final int SDL_GAMEPAD_BUTTON_MISC3- See Also:
-
SDL_GAMEPAD_BUTTON_MISC4
public static final int SDL_GAMEPAD_BUTTON_MISC4- See Also:
-
SDL_GAMEPAD_BUTTON_MISC5
public static final int SDL_GAMEPAD_BUTTON_MISC5- See Also:
-
SDL_GAMEPAD_BUTTON_MISC6
public static final int SDL_GAMEPAD_BUTTON_MISC6- See Also:
-
SDL_GAMEPAD_BUTTON_COUNT
public static final int SDL_GAMEPAD_BUTTON_COUNT- See Also:
-
SDL_GAMEPAD_BUTTON_LABEL_UNKNOWN
public static final int SDL_GAMEPAD_BUTTON_LABEL_UNKNOWN- See Also:
-
SDL_GAMEPAD_BUTTON_LABEL_A
public static final int SDL_GAMEPAD_BUTTON_LABEL_A- See Also:
-
SDL_GAMEPAD_BUTTON_LABEL_B
public static final int SDL_GAMEPAD_BUTTON_LABEL_B- See Also:
-
SDL_GAMEPAD_BUTTON_LABEL_X
public static final int SDL_GAMEPAD_BUTTON_LABEL_X- See Also:
-
SDL_GAMEPAD_BUTTON_LABEL_Y
public static final int SDL_GAMEPAD_BUTTON_LABEL_Y- See Also:
-
SDL_GAMEPAD_BUTTON_LABEL_CROSS
public static final int SDL_GAMEPAD_BUTTON_LABEL_CROSS- See Also:
-
SDL_GAMEPAD_BUTTON_LABEL_CIRCLE
public static final int SDL_GAMEPAD_BUTTON_LABEL_CIRCLE- See Also:
-
SDL_GAMEPAD_BUTTON_LABEL_SQUARE
public static final int SDL_GAMEPAD_BUTTON_LABEL_SQUARE- See Also:
-
SDL_GAMEPAD_BUTTON_LABEL_TRIANGLE
public static final int SDL_GAMEPAD_BUTTON_LABEL_TRIANGLE- See Also:
-
SDL_GAMEPAD_AXIS_INVALID
public static final int SDL_GAMEPAD_AXIS_INVALID- See Also:
-
SDL_GAMEPAD_AXIS_LEFTX
public static final int SDL_GAMEPAD_AXIS_LEFTX- See Also:
-
SDL_GAMEPAD_AXIS_LEFTY
public static final int SDL_GAMEPAD_AXIS_LEFTY- See Also:
-
SDL_GAMEPAD_AXIS_RIGHTX
public static final int SDL_GAMEPAD_AXIS_RIGHTX- See Also:
-
SDL_GAMEPAD_AXIS_RIGHTY
public static final int SDL_GAMEPAD_AXIS_RIGHTY- See Also:
-
SDL_GAMEPAD_AXIS_LEFT_TRIGGER
public static final int SDL_GAMEPAD_AXIS_LEFT_TRIGGER- See Also:
-
SDL_GAMEPAD_AXIS_RIGHT_TRIGGER
public static final int SDL_GAMEPAD_AXIS_RIGHT_TRIGGER- See Also:
-
SDL_GAMEPAD_AXIS_COUNT
public static final int SDL_GAMEPAD_AXIS_COUNT- See Also:
-
SDL_GAMEPAD_BINDTYPE_NONE
public static final int SDL_GAMEPAD_BINDTYPE_NONE- See Also:
-
SDL_GAMEPAD_BINDTYPE_BUTTON
public static final int SDL_GAMEPAD_BINDTYPE_BUTTON- See Also:
-
SDL_GAMEPAD_BINDTYPE_AXIS
public static final int SDL_GAMEPAD_BINDTYPE_AXIS- See Also:
-
SDL_GAMEPAD_BINDTYPE_HAT
public static final int SDL_GAMEPAD_BINDTYPE_HAT- See Also:
-
-
Method Details
-
nSDL_AddGamepadMapping
public static int nSDL_AddGamepadMapping(long mapping) int SDL_AddGamepadMapping(char const * mapping)
-
SDL_AddGamepadMapping
int SDL_AddGamepadMapping(char const * mapping)
-
SDL_AddGamepadMapping
int SDL_AddGamepadMapping(char const * mapping)
-
SDL_AddGamepadMappingsFromIO
public static int SDL_AddGamepadMappingsFromIO(long src, boolean closeio) int SDL_AddGamepadMappingsFromIO(SDL_IOStream * src, bool closeio)
-
nSDL_AddGamepadMappingsFromFile
public static int nSDL_AddGamepadMappingsFromFile(long file) int SDL_AddGamepadMappingsFromFile(char const * file)
-
SDL_AddGamepadMappingsFromFile
int SDL_AddGamepadMappingsFromFile(char const * file)
-
SDL_AddGamepadMappingsFromFile
int SDL_AddGamepadMappingsFromFile(char const * file)
-
SDL_ReloadGamepadMappings
public static boolean SDL_ReloadGamepadMappings()bool SDL_ReloadGamepadMappings(void)
-
nSDL_GetGamepadMappings
public static long nSDL_GetGamepadMappings(long count) char ** SDL_GetGamepadMappings(int * count)
-
SDL_GetGamepadMappings
char ** SDL_GetGamepadMappings(int * count)
-
nSDL_GetGamepadMappingForGUID
public static long nSDL_GetGamepadMappingForGUID(long guid) char * SDL_GetGamepadMappingForGUID(SDL_GUID guid)
-
SDL_GetGamepadMappingForGUID
char * SDL_GetGamepadMappingForGUID(SDL_GUID guid)
-
nSDL_GetGamepadMapping
public static long nSDL_GetGamepadMapping(long gamepad) char * SDL_GetGamepadMapping(SDL_Gamepad * gamepad)
-
SDL_GetGamepadMapping
char * SDL_GetGamepadMapping(SDL_Gamepad * gamepad)
-
nSDL_SetGamepadMapping
public static boolean nSDL_SetGamepadMapping(int instance_id, long mapping) bool SDL_SetGamepadMapping(SDL_JoystickID instance_id, char const * mapping)
-
SDL_SetGamepadMapping
bool SDL_SetGamepadMapping(SDL_JoystickID instance_id, char const * mapping)
-
SDL_SetGamepadMapping
bool SDL_SetGamepadMapping(SDL_JoystickID instance_id, char const * mapping)
-
SDL_HasGamepad
public static boolean SDL_HasGamepad()bool SDL_HasGamepad(void)
-
nSDL_GetGamepads
public static long nSDL_GetGamepads(long count) SDL_JoystickID * SDL_GetGamepads(int * count)
-
SDL_GetGamepads
SDL_JoystickID * SDL_GetGamepads(int * count)
-
SDL_IsGamepad
public static boolean SDL_IsGamepad(int instance_id) bool SDL_IsGamepad(SDL_JoystickID instance_id)
-
nSDL_GetGamepadNameForID
public static long nSDL_GetGamepadNameForID(int instance_id) char const * SDL_GetGamepadNameForID(SDL_JoystickID instance_id)
-
SDL_GetGamepadNameForID
char const * SDL_GetGamepadNameForID(SDL_JoystickID instance_id)
-
nSDL_GetGamepadPathForID
public static long nSDL_GetGamepadPathForID(int instance_id) char const * SDL_GetGamepadPathForID(SDL_JoystickID instance_id)
-
SDL_GetGamepadPathForID
char const * SDL_GetGamepadPathForID(SDL_JoystickID instance_id)
-
SDL_GetGamepadPlayerIndexForID
public static int SDL_GetGamepadPlayerIndexForID(int instance_id) int SDL_GetGamepadPlayerIndexForID(SDL_JoystickID instance_id)
-
nSDL_GetGamepadGUIDForID
public static void nSDL_GetGamepadGUIDForID(int instance_id, long __result) SDL_GUID SDL_GetGamepadGUIDForID(SDL_JoystickID instance_id)
-
SDL_GetGamepadGUIDForID
SDL_GUID SDL_GetGamepadGUIDForID(SDL_JoystickID instance_id)
-
SDL_GetGamepadVendorForID
public static short SDL_GetGamepadVendorForID(int instance_id) Uint16 SDL_GetGamepadVendorForID(SDL_JoystickID instance_id)
-
SDL_GetGamepadProductForID
public static short SDL_GetGamepadProductForID(int instance_id) Uint16 SDL_GetGamepadProductForID(SDL_JoystickID instance_id)
-
SDL_GetGamepadProductVersionForID
public static short SDL_GetGamepadProductVersionForID(int instance_id) Uint16 SDL_GetGamepadProductVersionForID(SDL_JoystickID instance_id)
-
SDL_GetGamepadTypeForID
public static int SDL_GetGamepadTypeForID(int instance_id) SDL_GamepadType SDL_GetGamepadTypeForID(SDL_JoystickID instance_id)
-
SDL_GetRealGamepadTypeForID
public static int SDL_GetRealGamepadTypeForID(int instance_id) SDL_GamepadType SDL_GetRealGamepadTypeForID(SDL_JoystickID instance_id)
-
nSDL_GetGamepadMappingForID
public static long nSDL_GetGamepadMappingForID(int instance_id) char * SDL_GetGamepadMappingForID(SDL_JoystickID instance_id)
-
SDL_GetGamepadMappingForID
char * SDL_GetGamepadMappingForID(SDL_JoystickID instance_id)
-
SDL_OpenGamepad
public static long SDL_OpenGamepad(int instance_id) SDL_Gamepad * SDL_OpenGamepad(SDL_JoystickID instance_id)
-
SDL_GetGamepadFromID
public static long SDL_GetGamepadFromID(int instance_id) SDL_Gamepad * SDL_GetGamepadFromID(SDL_JoystickID instance_id)
-
SDL_GetGamepadFromPlayerIndex
public static long SDL_GetGamepadFromPlayerIndex(int player_index) SDL_Gamepad * SDL_GetGamepadFromPlayerIndex(int player_index)
-
SDL_GetGamepadProperties
public static int SDL_GetGamepadProperties(long gamepad) SDL_PropertiesID SDL_GetGamepadProperties(SDL_Gamepad * gamepad)
-
SDL_GetGamepadID
public static int SDL_GetGamepadID(long gamepad) SDL_JoystickID SDL_GetGamepadID(SDL_Gamepad * gamepad)
-
nSDL_GetGamepadName
public static long nSDL_GetGamepadName(long gamepad) char const * SDL_GetGamepadName(SDL_Gamepad * gamepad)
-
SDL_GetGamepadName
char const * SDL_GetGamepadName(SDL_Gamepad * gamepad)
-
nSDL_GetGamepadPath
public static long nSDL_GetGamepadPath(long gamepad) char const * SDL_GetGamepadPath(SDL_Gamepad * gamepad)
-
SDL_GetGamepadPath
char const * SDL_GetGamepadPath(SDL_Gamepad * gamepad)
-
SDL_GetGamepadType
public static int SDL_GetGamepadType(long gamepad) SDL_GamepadType SDL_GetGamepadType(SDL_Gamepad * gamepad)
-
SDL_GetRealGamepadType
public static int SDL_GetRealGamepadType(long gamepad) SDL_GamepadType SDL_GetRealGamepadType(SDL_Gamepad * gamepad)
-
SDL_GetGamepadPlayerIndex
public static int SDL_GetGamepadPlayerIndex(long gamepad) int SDL_GetGamepadPlayerIndex(SDL_Gamepad * gamepad)
-
SDL_SetGamepadPlayerIndex
public static boolean SDL_SetGamepadPlayerIndex(long gamepad, int player_index) bool SDL_SetGamepadPlayerIndex(SDL_Gamepad * gamepad, int player_index)
-
SDL_GetGamepadVendor
public static short SDL_GetGamepadVendor(long gamepad) Uint16 SDL_GetGamepadVendor(SDL_Gamepad * gamepad)
-
SDL_GetGamepadProduct
public static short SDL_GetGamepadProduct(long gamepad) Uint16 SDL_GetGamepadProduct(SDL_Gamepad * gamepad)
-
SDL_GetGamepadProductVersion
public static short SDL_GetGamepadProductVersion(long gamepad) Uint16 SDL_GetGamepadProductVersion(SDL_Gamepad * gamepad)
-
SDL_GetGamepadFirmwareVersion
public static short SDL_GetGamepadFirmwareVersion(long gamepad) Uint16 SDL_GetGamepadFirmwareVersion(SDL_Gamepad * gamepad)
-
nSDL_GetGamepadSerial
public static long nSDL_GetGamepadSerial(long gamepad) char const * SDL_GetGamepadSerial(SDL_Gamepad * gamepad)
-
SDL_GetGamepadSerial
char const * SDL_GetGamepadSerial(SDL_Gamepad * gamepad)
-
SDL_GetGamepadSteamHandle
public static long SDL_GetGamepadSteamHandle(long gamepad) Uint64 SDL_GetGamepadSteamHandle(SDL_Gamepad * gamepad)
-
SDL_GetGamepadConnectionState
public static int SDL_GetGamepadConnectionState(long gamepad) SDL_JoystickConnectionState SDL_GetGamepadConnectionState(SDL_Gamepad * gamepad)
-
nSDL_GetGamepadPowerInfo
public static int nSDL_GetGamepadPowerInfo(long gamepad, long percent) SDL_PowerState SDL_GetGamepadPowerInfo(SDL_Gamepad * gamepad, int * percent)
-
SDL_GetGamepadPowerInfo
SDL_PowerState SDL_GetGamepadPowerInfo(SDL_Gamepad * gamepad, int * percent)
-
SDL_GamepadConnected
public static boolean SDL_GamepadConnected(long gamepad) bool SDL_GamepadConnected(SDL_Gamepad * gamepad)
-
SDL_GetGamepadJoystick
public static long SDL_GetGamepadJoystick(long gamepad) SDL_Joystick * SDL_GetGamepadJoystick(SDL_Gamepad * gamepad)
-
SDL_SetGamepadEventsEnabled
public static void SDL_SetGamepadEventsEnabled(boolean enabled) void SDL_SetGamepadEventsEnabled(bool enabled)
-
SDL_GamepadEventsEnabled
public static boolean SDL_GamepadEventsEnabled()bool SDL_GamepadEventsEnabled(void)
-
nSDL_GetGamepadBindings
public static long nSDL_GetGamepadBindings(long gamepad, long count) SDL_GamepadBinding ** SDL_GetGamepadBindings(SDL_Gamepad * gamepad, int * count)
-
SDL_GetGamepadBindings
SDL_GamepadBinding ** SDL_GetGamepadBindings(SDL_Gamepad * gamepad, int * count)
-
SDL_UpdateGamepads
public static void SDL_UpdateGamepads()void SDL_UpdateGamepads(void)
-
nSDL_GetGamepadTypeFromString
public static int nSDL_GetGamepadTypeFromString(long str) SDL_GamepadType SDL_GetGamepadTypeFromString(char const * str)
-
SDL_GetGamepadTypeFromString
SDL_GamepadType SDL_GetGamepadTypeFromString(char const * str)
-
SDL_GetGamepadTypeFromString
SDL_GamepadType SDL_GetGamepadTypeFromString(char const * str)
-
nSDL_GetGamepadStringForType
public static long nSDL_GetGamepadStringForType(int type) char const * SDL_GetGamepadStringForType(SDL_GamepadType type)
-
SDL_GetGamepadStringForType
char const * SDL_GetGamepadStringForType(SDL_GamepadType type)
-
nSDL_GetGamepadAxisFromString
public static int nSDL_GetGamepadAxisFromString(long str) SDL_GamepadAxis SDL_GetGamepadAxisFromString(char const * str)
-
SDL_GetGamepadAxisFromString
SDL_GamepadAxis SDL_GetGamepadAxisFromString(char const * str)
-
SDL_GetGamepadAxisFromString
SDL_GamepadAxis SDL_GetGamepadAxisFromString(char const * str)
-
nSDL_GetGamepadStringForAxis
public static long nSDL_GetGamepadStringForAxis(int axis) char const * SDL_GetGamepadStringForAxis(SDL_GamepadAxis axis)
-
SDL_GetGamepadStringForAxis
char const * SDL_GetGamepadStringForAxis(SDL_GamepadAxis axis)
-
SDL_GamepadHasAxis
public static boolean SDL_GamepadHasAxis(long gamepad, int axis) bool SDL_GamepadHasAxis(SDL_Gamepad * gamepad, SDL_GamepadAxis axis)
-
SDL_GetGamepadAxis
public static short SDL_GetGamepadAxis(long gamepad, int axis) Sint16 SDL_GetGamepadAxis(SDL_Gamepad * gamepad, SDL_GamepadAxis axis)
-
nSDL_GetGamepadButtonFromString
public static int nSDL_GetGamepadButtonFromString(long str) SDL_GamepadButton SDL_GetGamepadButtonFromString(char const * str)
-
SDL_GetGamepadButtonFromString
SDL_GamepadButton SDL_GetGamepadButtonFromString(char const * str)
-
SDL_GetGamepadButtonFromString
SDL_GamepadButton SDL_GetGamepadButtonFromString(char const * str)
-
nSDL_GetGamepadStringForButton
public static long nSDL_GetGamepadStringForButton(int button) char const * SDL_GetGamepadStringForButton(SDL_GamepadButton button)
-
SDL_GetGamepadStringForButton
char const * SDL_GetGamepadStringForButton(SDL_GamepadButton button)
-
SDL_GamepadHasButton
public static boolean SDL_GamepadHasButton(long gamepad, int button) bool SDL_GamepadHasButton(SDL_Gamepad * gamepad, SDL_GamepadButton button)
-
SDL_GetGamepadButton
public static boolean SDL_GetGamepadButton(long gamepad, int button) bool SDL_GetGamepadButton(SDL_Gamepad * gamepad, SDL_GamepadButton button)
-
SDL_GetGamepadButtonLabelForType
public static int SDL_GetGamepadButtonLabelForType(int type, int button) SDL_GamepadButtonLabel SDL_GetGamepadButtonLabelForType(SDL_GamepadType type, SDL_GamepadButton button)
-
SDL_GetGamepadButtonLabel
public static int SDL_GetGamepadButtonLabel(long gamepad, int button) SDL_GamepadButtonLabel SDL_GetGamepadButtonLabel(SDL_Gamepad * gamepad, SDL_GamepadButton button)
-
SDL_GetNumGamepadTouchpads
public static int SDL_GetNumGamepadTouchpads(long gamepad) int SDL_GetNumGamepadTouchpads(SDL_Gamepad * gamepad)
-
SDL_GetNumGamepadTouchpadFingers
public static int SDL_GetNumGamepadTouchpadFingers(long gamepad, int touchpad) int SDL_GetNumGamepadTouchpadFingers(SDL_Gamepad * gamepad, int touchpad)
-
nSDL_GetGamepadTouchpadFinger
public static boolean nSDL_GetGamepadTouchpadFinger(long gamepad, int touchpad, int finger, long down, long x, long y, long pressure) bool SDL_GetGamepadTouchpadFinger(SDL_Gamepad * gamepad, int touchpad, int finger, bool * down, float * x, float * y, float * pressure)
-
SDL_GetGamepadTouchpadFinger
public static boolean SDL_GetGamepadTouchpadFinger(long gamepad, int touchpad, int finger, @Nullable ByteBuffer down, @Nullable FloatBuffer x, @Nullable FloatBuffer y, @Nullable FloatBuffer pressure) bool SDL_GetGamepadTouchpadFinger(SDL_Gamepad * gamepad, int touchpad, int finger, bool * down, float * x, float * y, float * pressure)
-
SDL_GamepadHasSensor
public static boolean SDL_GamepadHasSensor(long gamepad, int type) bool SDL_GamepadHasSensor(SDL_Gamepad * gamepad, SDL_SensorType type)
-
SDL_SetGamepadSensorEnabled
public static boolean SDL_SetGamepadSensorEnabled(long gamepad, int type, boolean enabled) bool SDL_SetGamepadSensorEnabled(SDL_Gamepad * gamepad, SDL_SensorType type, bool enabled)
-
SDL_GamepadSensorEnabled
public static boolean SDL_GamepadSensorEnabled(long gamepad, int type) bool SDL_GamepadSensorEnabled(SDL_Gamepad * gamepad, SDL_SensorType type)
-
SDL_GetGamepadSensorDataRate
public static float SDL_GetGamepadSensorDataRate(long gamepad, int type) float SDL_GetGamepadSensorDataRate(SDL_Gamepad * gamepad, SDL_SensorType type)
-
nSDL_GetGamepadSensorData
public static boolean nSDL_GetGamepadSensorData(long gamepad, int type, long data, int num_values) bool SDL_GetGamepadSensorData(SDL_Gamepad * gamepad, SDL_SensorType type, float * data, int num_values)
-
SDL_GetGamepadSensorData
bool SDL_GetGamepadSensorData(SDL_Gamepad * gamepad, SDL_SensorType type, float * data, int num_values)
-
SDL_RumbleGamepad
public static boolean SDL_RumbleGamepad(long gamepad, short low_frequency_rumble, short high_frequency_rumble, int duration_ms) bool SDL_RumbleGamepad(SDL_Gamepad * gamepad, Uint16 low_frequency_rumble, Uint16 high_frequency_rumble, Uint32 duration_ms)
-
SDL_RumbleGamepadTriggers
public static boolean SDL_RumbleGamepadTriggers(long gamepad, short left_rumble, short right_rumble, int duration_ms) bool SDL_RumbleGamepadTriggers(SDL_Gamepad * gamepad, Uint16 left_rumble, Uint16 right_rumble, Uint32 duration_ms)
-
SDL_SetGamepadLED
public static boolean SDL_SetGamepadLED(long gamepad, byte red, byte green, byte blue) bool SDL_SetGamepadLED(SDL_Gamepad * gamepad, Uint8 red, Uint8 green, Uint8 blue)
-
nSDL_SendGamepadEffect
public static boolean nSDL_SendGamepadEffect(long gamepad, long data, int size) bool SDL_SendGamepadEffect(SDL_Gamepad * gamepad, void const * data, int size)
-
SDL_SendGamepadEffect
bool SDL_SendGamepadEffect(SDL_Gamepad * gamepad, void const * data, int size)
-
SDL_CloseGamepad
public static void SDL_CloseGamepad(long gamepad) void SDL_CloseGamepad(SDL_Gamepad * gamepad)
-
nSDL_GetGamepadAppleSFSymbolsNameForButton
public static long nSDL_GetGamepadAppleSFSymbolsNameForButton(long gamepad, int button) char const * SDL_GetGamepadAppleSFSymbolsNameForButton(SDL_Gamepad * gamepad, SDL_GamepadButton button)
-
SDL_GetGamepadAppleSFSymbolsNameForButton
char const * SDL_GetGamepadAppleSFSymbolsNameForButton(SDL_Gamepad * gamepad, SDL_GamepadButton button)
-
nSDL_GetGamepadAppleSFSymbolsNameForAxis
public static long nSDL_GetGamepadAppleSFSymbolsNameForAxis(long gamepad, int axis) char const * SDL_GetGamepadAppleSFSymbolsNameForAxis(SDL_Gamepad * gamepad, SDL_GamepadAxis axis)
-
SDL_GetGamepadAppleSFSymbolsNameForAxis
char const * SDL_GetGamepadAppleSFSymbolsNameForAxis(SDL_Gamepad * gamepad, SDL_GamepadAxis axis)
-