Uses of Record Class
club.doki7.sdl3.handle.SDL_Gamepad
Packages that use SDL_Gamepad
-
Uses of SDL_Gamepad in club.doki7.sdl3
Methods in club.doki7.sdl3 that return SDL_GamepadModifier and TypeMethodDescriptionSDL3.getGamepadFromID
(int instance_id) Get the SDL_Gamepad associated with a joystick instance ID, if it has been opened.SDL3.getGamepadFromPlayerIndex
(int player_index) Get the SDL_Gamepad associated with a player index.SDL3.openGamepad
(int instance_id) Open a gamepad for use.Methods in club.doki7.sdl3 with parameters of type SDL_GamepadModifier and TypeMethodDescriptionvoid
SDL3.closeGamepad
(@Nullable SDL_Gamepad gamepad) Close a gamepad previously opened with SDL_OpenGamepad().boolean
SDL3.gamepadConnected
(@Nullable SDL_Gamepad gamepad) Check if a gamepad has been opened and is currently connected.boolean
SDL3.gamepadHasAxis
(@Nullable SDL_Gamepad gamepad, int axis) Query whether a gamepad has a given axis.boolean
SDL3.gamepadHasButton
(@Nullable SDL_Gamepad gamepad, int button) Query whether a gamepad has a given button.boolean
SDL3.gamepadHasSensor
(@Nullable SDL_Gamepad gamepad, int type) Return whether a gamepad has a particular sensor.boolean
SDL3.gamepadSensorEnabled
(@Nullable SDL_Gamepad gamepad, int type) Query whether sensor data reporting is enabled for a gamepad.SDL3.getGamepadAppleSFSymbolsNameForAxis
(@Nullable SDL_Gamepad gamepad, int axis) Return the sfSymbolsName for a given axis on a gamepad on Apple platforms.SDL3.getGamepadAppleSFSymbolsNameForButton
(@Nullable SDL_Gamepad gamepad, int button) Return the sfSymbolsName for a given button on a gamepad on Apple platforms.short
SDL3.getGamepadAxis
(@Nullable SDL_Gamepad gamepad, int axis) Get the current state of an axis control on a gamepad.SDL3.getGamepadBindings
(@Nullable SDL_Gamepad gamepad, @Nullable IntPtr count) Get the SDL joystick layer bindings for a gamepad.boolean
SDL3.getGamepadButton
(@Nullable SDL_Gamepad gamepad, int button) Get the current state of a button on a gamepad.int
SDL3.getGamepadButtonLabel
(@Nullable SDL_Gamepad gamepad, int button) Get the label of a button on a gamepad.int
SDL3.getGamepadConnectionState
(@Nullable SDL_Gamepad gamepad) Get the connection state of a gamepad.short
SDL3.getGamepadFirmwareVersion
(@Nullable SDL_Gamepad gamepad) Get the firmware version of an opened gamepad, if available.int
SDL3.getGamepadID
(@Nullable SDL_Gamepad gamepad) Get the instance ID of an opened gamepad.SDL3.getGamepadJoystick
(@Nullable SDL_Gamepad gamepad) Get the underlying joystick from a gamepad.SDL3.getGamepadMapping
(@Nullable SDL_Gamepad gamepad) Get the current mapping of a gamepad.SDL3.getGamepadName
(@Nullable SDL_Gamepad gamepad) Get the implementation-dependent name for an opened gamepad.SDL3.getGamepadPath
(@Nullable SDL_Gamepad gamepad) Get the implementation-dependent path for an opened gamepad.int
SDL3.getGamepadPlayerIndex
(@Nullable SDL_Gamepad gamepad) Get the player index of an opened gamepad.int
SDL3.getGamepadPowerInfo
(@Nullable SDL_Gamepad gamepad, @Nullable IntPtr percent) Get the battery state of a gamepad.short
SDL3.getGamepadProduct
(@Nullable SDL_Gamepad gamepad) Get the USB product ID of an opened gamepad, if available.short
SDL3.getGamepadProductVersion
(@Nullable SDL_Gamepad gamepad) Get the product version of an opened gamepad, if available.int
SDL3.getGamepadProperties
(@Nullable SDL_Gamepad gamepad) Get the properties associated with an opened gamepad.boolean
SDL3.getGamepadSensorData
(@Nullable SDL_Gamepad gamepad, int type, @Nullable FloatPtr data, int num_values) Get the current state of a gamepad sensor.float
SDL3.getGamepadSensorDataRate
(@Nullable SDL_Gamepad gamepad, int type) Get the data rate (number of events per second) of a gamepad sensor.SDL3.getGamepadSerial
(@Nullable SDL_Gamepad gamepad) Get the serial number of an opened gamepad, if available.long
SDL3.getGamepadSteamHandle
(@Nullable SDL_Gamepad gamepad) Get the Steam Input handle of an opened gamepad, if available.boolean
SDL3.getGamepadTouchpadFinger
(@Nullable SDL_Gamepad gamepad, int touchpad, int finger, @Nullable BytePtr down, @Nullable FloatPtr x, @Nullable FloatPtr y, @Nullable FloatPtr pressure) Get the current state of a finger on a touchpad on a gamepad.int
SDL3.getGamepadType
(@Nullable SDL_Gamepad gamepad) Get the type of an opened gamepad.short
SDL3.getGamepadVendor
(@Nullable SDL_Gamepad gamepad) Get the USB vendor ID of an opened gamepad, if available.int
SDL3.getNumGamepadTouchpadFingers
(@Nullable SDL_Gamepad gamepad, int touchpad) Get the number of supported simultaneous fingers on a touchpad on a game gamepad.int
SDL3.getNumGamepadTouchpads
(@Nullable SDL_Gamepad gamepad) Get the number of touchpads on a gamepad.int
SDL3.getRealGamepadType
(@Nullable SDL_Gamepad gamepad) Get the type of an opened gamepad, ignoring any mapping override.boolean
SDL3.rumbleGamepad
(@Nullable SDL_Gamepad gamepad, short low_frequency_rumble, short high_frequency_rumble, int duration_ms) Start a rumble effect on a gamepad.boolean
SDL3.rumbleGamepadTriggers
(@Nullable SDL_Gamepad gamepad, short left_rumble, short right_rumble, int duration_ms) Start a rumble effect in the gamepad's triggers.boolean
SDL3.sendGamepadEffect
(@Nullable SDL_Gamepad gamepad, MemorySegment data, int size) Send a gamepad specific effect packet.boolean
SDL3.setGamepadLED
(@Nullable SDL_Gamepad gamepad, byte red, byte green, byte blue) Update a gamepad's LED color.boolean
SDL3.setGamepadPlayerIndex
(@Nullable SDL_Gamepad gamepad, int player_index) Set the player index of an opened gamepad.boolean
SDL3.setGamepadSensorEnabled
(@Nullable SDL_Gamepad gamepad, int type, boolean enabled) Set whether data reporting for a gamepad sensor is enabled. -
Uses of SDL_Gamepad in club.doki7.sdl3.handle
Classes in club.doki7.sdl3.handle that implement interfaces with type arguments of type SDL_GamepadModifier and TypeClassDescriptionstatic final record
Represents a pointer toSDL_Gamepad
handle(s) in native memory.Methods in club.doki7.sdl3.handle that return SDL_GamepadModifier and TypeMethodDescription@Nullable SDL_Gamepad
SDL_Gamepad.Ptr.read()
@Nullable SDL_Gamepad
SDL_Gamepad.Ptr.read
(long index) Methods in club.doki7.sdl3.handle that return types with arguments of type SDL_GamepadMethods in club.doki7.sdl3.handle with parameters of type SDL_GamepadModifier and TypeMethodDescriptionstatic SDL_Gamepad.Ptr
SDL_Gamepad.Ptr.allocate
(Arena arena, @Nullable SDL_Gamepad[] values) static SDL_Gamepad.Ptr
SDL_Gamepad.Ptr.allocateV
(Arena arena, @Nullable SDL_Gamepad value0, @Nullable SDL_Gamepad... values) void
SDL_Gamepad.Ptr.write
(long index, @Nullable SDL_Gamepad value) void
SDL_Gamepad.Ptr.write
(@Nullable SDL_Gamepad value) void
SDL_Gamepad.Ptr.write
(@Nullable SDL_Gamepad[] values) void
SDL_Gamepad.Ptr.writeV
(@Nullable SDL_Gamepad value0, @Nullable SDL_Gamepad... values)