Package org.lwjgl.sdl
Class SDLGamepad
java.lang.Object
org.lwjgl.sdl.SDLGamepad
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded fromSDL.getLibrary(). -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
Modifier and TypeMethodDescriptionstatic intnSDL_AddGamepadMapping(long mapping) int SDL_AddGamepadMapping(char const * mapping)static intnSDL_AddGamepadMappingsFromFile(long file) int SDL_AddGamepadMappingsFromFile(char const * file)static longnSDL_GetGamepadAppleSFSymbolsNameForAxis(long gamepad, int axis) char const * SDL_GetGamepadAppleSFSymbolsNameForAxis(SDL_Gamepad * gamepad, SDL_GamepadAxis axis)static longnSDL_GetGamepadAppleSFSymbolsNameForButton(long gamepad, int button) char const * SDL_GetGamepadAppleSFSymbolsNameForButton(SDL_Gamepad * gamepad, SDL_GamepadButton button)static intnSDL_GetGamepadAxisFromString(long str) SDL_GamepadAxis SDL_GetGamepadAxisFromString(char const * str)static longnSDL_GetGamepadBindings(long gamepad, long count) SDL_GamepadBinding ** SDL_GetGamepadBindings(SDL_Gamepad * gamepad, int * count)static intnSDL_GetGamepadButtonFromString(long str) SDL_GamepadButton SDL_GetGamepadButtonFromString(char const * str)static voidnSDL_GetGamepadGUIDForID(int instance_id, long __result) SDL_GUID SDL_GetGamepadGUIDForID(SDL_JoystickID instance_id)static longnSDL_GetGamepadMapping(long gamepad) char * SDL_GetGamepadMapping(SDL_Gamepad * gamepad)static longnSDL_GetGamepadMappingForGUID(long guid) char * SDL_GetGamepadMappingForGUID(SDL_GUID guid)static longnSDL_GetGamepadMappingForID(int instance_id) char * SDL_GetGamepadMappingForID(SDL_JoystickID instance_id)static longnSDL_GetGamepadMappings(long count) char ** SDL_GetGamepadMappings(int * count)static longnSDL_GetGamepadName(long gamepad) char const * SDL_GetGamepadName(SDL_Gamepad * gamepad)static longnSDL_GetGamepadNameForID(int instance_id) char const * SDL_GetGamepadNameForID(SDL_JoystickID instance_id)static longnSDL_GetGamepadPath(long gamepad) char const * SDL_GetGamepadPath(SDL_Gamepad * gamepad)static longnSDL_GetGamepadPathForID(int instance_id) char const * SDL_GetGamepadPathForID(SDL_JoystickID instance_id)static intnSDL_GetGamepadPowerInfo(long gamepad, long percent) SDL_PowerState SDL_GetGamepadPowerInfo(SDL_Gamepad * gamepad, int * percent)static longnSDL_GetGamepads(long count) SDL_JoystickID * SDL_GetGamepads(int * count)static booleannSDL_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 longnSDL_GetGamepadSerial(long gamepad) char const * SDL_GetGamepadSerial(SDL_Gamepad * gamepad)static longnSDL_GetGamepadStringForAxis(int axis) char const * SDL_GetGamepadStringForAxis(SDL_GamepadAxis axis)static longnSDL_GetGamepadStringForButton(int button) char const * SDL_GetGamepadStringForButton(SDL_GamepadButton button)static longnSDL_GetGamepadStringForType(int type) char const * SDL_GetGamepadStringForType(SDL_GamepadType type)static booleannSDL_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 intnSDL_GetGamepadTypeFromString(long str) SDL_GamepadType SDL_GetGamepadTypeFromString(char const * str)static booleannSDL_SendGamepadEffect(long gamepad, long data, int size) bool SDL_SendGamepadEffect(SDL_Gamepad * gamepad, void const * data, int size)static booleannSDL_SetGamepadMapping(int instance_id, long mapping) bool SDL_SetGamepadMapping(SDL_JoystickID instance_id, char const * mapping)static intSDL_AddGamepadMapping(CharSequence mapping) int SDL_AddGamepadMapping(char const * mapping)static intSDL_AddGamepadMapping(ByteBuffer mapping) int SDL_AddGamepadMapping(char const * mapping)static intint SDL_AddGamepadMappingsFromFile(char const * file)static intint SDL_AddGamepadMappingsFromFile(char const * file)static intSDL_AddGamepadMappingsFromIO(long src, boolean closeio) int SDL_AddGamepadMappingsFromIO(SDL_IOStream * src, bool closeio)static voidSDL_CloseGamepad(long gamepad) void SDL_CloseGamepad(SDL_Gamepad * gamepad)static booleanSDL_GamepadConnected(long gamepad) bool SDL_GamepadConnected(SDL_Gamepad * gamepad)static booleanbool SDL_GamepadEventsEnabled(void)static booleanSDL_GamepadHasAxis(long gamepad, int axis) bool SDL_GamepadHasAxis(SDL_Gamepad * gamepad, SDL_GamepadAxis axis)static booleanSDL_GamepadHasButton(long gamepad, int button) bool SDL_GamepadHasButton(SDL_Gamepad * gamepad, SDL_GamepadButton button)static booleanSDL_GamepadHasSensor(long gamepad, int type) bool SDL_GamepadHasSensor(SDL_Gamepad * gamepad, SDL_SensorType type)static booleanSDL_GamepadSensorEnabled(long gamepad, int type) bool SDL_GamepadSensorEnabled(SDL_Gamepad * gamepad, SDL_SensorType type)static @Nullable StringSDL_GetGamepadAppleSFSymbolsNameForAxis(long gamepad, int axis) char const * SDL_GetGamepadAppleSFSymbolsNameForAxis(SDL_Gamepad * gamepad, SDL_GamepadAxis axis)static @Nullable StringSDL_GetGamepadAppleSFSymbolsNameForButton(long gamepad, int button) char const * SDL_GetGamepadAppleSFSymbolsNameForButton(SDL_Gamepad * gamepad, SDL_GamepadButton button)static shortSDL_GetGamepadAxis(long gamepad, int axis) Sint16 SDL_GetGamepadAxis(SDL_Gamepad * gamepad, SDL_GamepadAxis axis)static intSDL_GamepadAxis SDL_GetGamepadAxisFromString(char const * str)static intSDL_GamepadAxis SDL_GetGamepadAxisFromString(char const * str)static @Nullable PointerBufferSDL_GetGamepadBindings(long gamepad) SDL_GamepadBinding ** SDL_GetGamepadBindings(SDL_Gamepad * gamepad, int * count)static booleanSDL_GetGamepadButton(long gamepad, int button) bool SDL_GetGamepadButton(SDL_Gamepad * gamepad, SDL_GamepadButton button)static intSDL_GamepadButton SDL_GetGamepadButtonFromString(char const * str)static intSDL_GamepadButton SDL_GetGamepadButtonFromString(char const * str)static intSDL_GetGamepadButtonLabel(long gamepad, int button) SDL_GamepadButtonLabel SDL_GetGamepadButtonLabel(SDL_Gamepad * gamepad, SDL_GamepadButton button)static intSDL_GetGamepadButtonLabelForType(int type, int button) SDL_GamepadButtonLabel SDL_GetGamepadButtonLabelForType(SDL_GamepadType type, SDL_GamepadButton button)static intSDL_GetGamepadConnectionState(long gamepad) SDL_JoystickConnectionState SDL_GetGamepadConnectionState(SDL_Gamepad * gamepad)static shortSDL_GetGamepadFirmwareVersion(long gamepad) Uint16 SDL_GetGamepadFirmwareVersion(SDL_Gamepad * gamepad)static longSDL_GetGamepadFromID(int instance_id) SDL_Gamepad * SDL_GetGamepadFromID(SDL_JoystickID instance_id)static longSDL_GetGamepadFromPlayerIndex(int player_index) SDL_Gamepad * SDL_GetGamepadFromPlayerIndex(int player_index)static SDL_GUIDSDL_GetGamepadGUIDForID(int instance_id, SDL_GUID __result) SDL_GUID SDL_GetGamepadGUIDForID(SDL_JoystickID instance_id)static intSDL_GetGamepadID(long gamepad) SDL_JoystickID SDL_GetGamepadID(SDL_Gamepad * gamepad)static longSDL_GetGamepadJoystick(long gamepad) SDL_Joystick * SDL_GetGamepadJoystick(SDL_Gamepad * gamepad)static @Nullable StringSDL_GetGamepadMapping(long gamepad) char * SDL_GetGamepadMapping(SDL_Gamepad * gamepad)static @Nullable Stringchar * SDL_GetGamepadMappingForGUID(SDL_GUID guid)static @Nullable StringSDL_GetGamepadMappingForID(int instance_id) char * SDL_GetGamepadMappingForID(SDL_JoystickID instance_id)static @Nullable PointerBufferchar ** SDL_GetGamepadMappings(int * count)static @Nullable StringSDL_GetGamepadName(long gamepad) char const * SDL_GetGamepadName(SDL_Gamepad * gamepad)static @Nullable StringSDL_GetGamepadNameForID(int instance_id) char const * SDL_GetGamepadNameForID(SDL_JoystickID instance_id)static @Nullable StringSDL_GetGamepadPath(long gamepad) char const * SDL_GetGamepadPath(SDL_Gamepad * gamepad)static @Nullable StringSDL_GetGamepadPathForID(int instance_id) char const * SDL_GetGamepadPathForID(SDL_JoystickID instance_id)static intSDL_GetGamepadPlayerIndex(long gamepad) int SDL_GetGamepadPlayerIndex(SDL_Gamepad * gamepad)static intSDL_GetGamepadPlayerIndexForID(int instance_id) int SDL_GetGamepadPlayerIndexForID(SDL_JoystickID instance_id)static intSDL_GetGamepadPowerInfo(long gamepad, @Nullable IntBuffer percent) SDL_PowerState SDL_GetGamepadPowerInfo(SDL_Gamepad * gamepad, int * percent)static shortSDL_GetGamepadProduct(long gamepad) Uint16 SDL_GetGamepadProduct(SDL_Gamepad * gamepad)static shortSDL_GetGamepadProductForID(int instance_id) Uint16 SDL_GetGamepadProductForID(SDL_JoystickID instance_id)static shortSDL_GetGamepadProductVersion(long gamepad) Uint16 SDL_GetGamepadProductVersion(SDL_Gamepad * gamepad)static shortSDL_GetGamepadProductVersionForID(int instance_id) Uint16 SDL_GetGamepadProductVersionForID(SDL_JoystickID instance_id)static intSDL_GetGamepadProperties(long gamepad) SDL_PropertiesID SDL_GetGamepadProperties(SDL_Gamepad * gamepad)static @Nullable IntBufferSDL_JoystickID * SDL_GetGamepads(int * count)static booleanSDL_GetGamepadSensorData(long gamepad, int type, FloatBuffer data) bool SDL_GetGamepadSensorData(SDL_Gamepad * gamepad, SDL_SensorType type, float * data, int num_values)static floatSDL_GetGamepadSensorDataRate(long gamepad, int type) float SDL_GetGamepadSensorDataRate(SDL_Gamepad * gamepad, SDL_SensorType type)static @Nullable StringSDL_GetGamepadSerial(long gamepad) char const * SDL_GetGamepadSerial(SDL_Gamepad * gamepad)static longSDL_GetGamepadSteamHandle(long gamepad) Uint64 SDL_GetGamepadSteamHandle(SDL_Gamepad * gamepad)static @Nullable StringSDL_GetGamepadStringForAxis(int axis) char const * SDL_GetGamepadStringForAxis(SDL_GamepadAxis axis)static @Nullable StringSDL_GetGamepadStringForButton(int button) char const * SDL_GetGamepadStringForButton(SDL_GamepadButton button)static @Nullable StringSDL_GetGamepadStringForType(int type) char const * SDL_GetGamepadStringForType(SDL_GamepadType type)static booleanSDL_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 intSDL_GetGamepadType(long gamepad) SDL_GamepadType SDL_GetGamepadType(SDL_Gamepad * gamepad)static intSDL_GetGamepadTypeForID(int instance_id) SDL_GamepadType SDL_GetGamepadTypeForID(SDL_JoystickID instance_id)static intSDL_GamepadType SDL_GetGamepadTypeFromString(char const * str)static intSDL_GamepadType SDL_GetGamepadTypeFromString(char const * str)static shortSDL_GetGamepadVendor(long gamepad) Uint16 SDL_GetGamepadVendor(SDL_Gamepad * gamepad)static shortSDL_GetGamepadVendorForID(int instance_id) Uint16 SDL_GetGamepadVendorForID(SDL_JoystickID instance_id)static intSDL_GetNumGamepadTouchpadFingers(long gamepad, int touchpad) int SDL_GetNumGamepadTouchpadFingers(SDL_Gamepad * gamepad, int touchpad)static intSDL_GetNumGamepadTouchpads(long gamepad) int SDL_GetNumGamepadTouchpads(SDL_Gamepad * gamepad)static intSDL_GetRealGamepadType(long gamepad) SDL_GamepadType SDL_GetRealGamepadType(SDL_Gamepad * gamepad)static intSDL_GetRealGamepadTypeForID(int instance_id) SDL_GamepadType SDL_GetRealGamepadTypeForID(SDL_JoystickID instance_id)static booleanbool SDL_HasGamepad(void)static booleanSDL_IsGamepad(int instance_id) bool SDL_IsGamepad(SDL_JoystickID instance_id)static longSDL_OpenGamepad(int instance_id) SDL_Gamepad * SDL_OpenGamepad(SDL_JoystickID instance_id)static booleanbool SDL_ReloadGamepadMappings(void)static booleanSDL_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 booleanSDL_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 booleanSDL_SendGamepadEffect(long gamepad, ByteBuffer data) bool SDL_SendGamepadEffect(SDL_Gamepad * gamepad, void const * data, int size)static voidSDL_SetGamepadEventsEnabled(boolean enabled) void SDL_SetGamepadEventsEnabled(bool enabled)static booleanSDL_SetGamepadLED(long gamepad, byte red, byte green, byte blue) bool SDL_SetGamepadLED(SDL_Gamepad * gamepad, Uint8 red, Uint8 green, Uint8 blue)static booleanSDL_SetGamepadMapping(int instance_id, CharSequence mapping) bool SDL_SetGamepadMapping(SDL_JoystickID instance_id, char const * mapping)static booleanSDL_SetGamepadMapping(int instance_id, ByteBuffer mapping) bool SDL_SetGamepadMapping(SDL_JoystickID instance_id, char const * mapping)static booleanSDL_SetGamepadPlayerIndex(long gamepad, int player_index) bool SDL_SetGamepadPlayerIndex(SDL_Gamepad * gamepad, int player_index)static booleanSDL_SetGamepadSensorEnabled(long gamepad, int type, boolean enabled) bool SDL_SetGamepadSensorEnabled(SDL_Gamepad * gamepad, SDL_SensorType type, bool enabled)static voidvoid 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)
-