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 TypeMethodDescriptionvoidSDL3.closeGamepad(@Nullable SDL_Gamepad gamepad) Close a gamepad previously opened with SDL_OpenGamepad().booleanSDL3.gamepadConnected(@Nullable SDL_Gamepad gamepad) Check if a gamepad has been opened and is currently connected.booleanSDL3.gamepadHasAxis(@Nullable SDL_Gamepad gamepad, int axis) Query whether a gamepad has a given axis.booleanSDL3.gamepadHasButton(@Nullable SDL_Gamepad gamepad, int button) Query whether a gamepad has a given button.booleanSDL3.gamepadHasSensor(@Nullable SDL_Gamepad gamepad, int type) Return whether a gamepad has a particular sensor.booleanSDL3.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.shortSDL3.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.booleanSDL3.getGamepadButton(@Nullable SDL_Gamepad gamepad, int button) Get the current state of a button on a gamepad.intSDL3.getGamepadButtonLabel(@Nullable SDL_Gamepad gamepad, int button) Get the label of a button on a gamepad.intSDL3.getGamepadConnectionState(@Nullable SDL_Gamepad gamepad) Get the connection state of a gamepad.shortSDL3.getGamepadFirmwareVersion(@Nullable SDL_Gamepad gamepad) Get the firmware version of an opened gamepad, if available.intSDL3.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.intSDL3.getGamepadPlayerIndex(@Nullable SDL_Gamepad gamepad) Get the player index of an opened gamepad.intSDL3.getGamepadPowerInfo(@Nullable SDL_Gamepad gamepad, @Nullable IntPtr percent) Get the battery state of a gamepad.shortSDL3.getGamepadProduct(@Nullable SDL_Gamepad gamepad) Get the USB product ID of an opened gamepad, if available.shortSDL3.getGamepadProductVersion(@Nullable SDL_Gamepad gamepad) Get the product version of an opened gamepad, if available.intSDL3.getGamepadProperties(@Nullable SDL_Gamepad gamepad) Get the properties associated with an opened gamepad.booleanSDL3.getGamepadSensorData(@Nullable SDL_Gamepad gamepad, int type, @Nullable FloatPtr data, int num_values) Get the current state of a gamepad sensor.floatSDL3.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.longSDL3.getGamepadSteamHandle(@Nullable SDL_Gamepad gamepad) Get the Steam Input handle of an opened gamepad, if available.booleanSDL3.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.intSDL3.getGamepadType(@Nullable SDL_Gamepad gamepad) Get the type of an opened gamepad.shortSDL3.getGamepadVendor(@Nullable SDL_Gamepad gamepad) Get the USB vendor ID of an opened gamepad, if available.intSDL3.getNumGamepadTouchpadFingers(@Nullable SDL_Gamepad gamepad, int touchpad) Get the number of supported simultaneous fingers on a touchpad on a game gamepad.intSDL3.getNumGamepadTouchpads(@Nullable SDL_Gamepad gamepad) Get the number of touchpads on a gamepad.intSDL3.getRealGamepadType(@Nullable SDL_Gamepad gamepad) Get the type of an opened gamepad, ignoring any mapping override.booleanSDL3.rumbleGamepad(@Nullable SDL_Gamepad gamepad, short low_frequency_rumble, short high_frequency_rumble, int duration_ms) Start a rumble effect on a gamepad.booleanSDL3.rumbleGamepadTriggers(@Nullable SDL_Gamepad gamepad, short left_rumble, short right_rumble, int duration_ms) Start a rumble effect in the gamepad's triggers.booleanSDL3.sendGamepadEffect(@Nullable SDL_Gamepad gamepad, MemorySegment data, int size) Send a gamepad specific effect packet.booleanSDL3.setGamepadLED(@Nullable SDL_Gamepad gamepad, byte red, byte green, byte blue) Update a gamepad's LED color.booleanSDL3.setGamepadPlayerIndex(@Nullable SDL_Gamepad gamepad, int player_index) Set the player index of an opened gamepad.booleanSDL3.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 recordRepresents a pointer toSDL_Gamepadhandle(s) in native memory.Methods in club.doki7.sdl3.handle that return SDL_GamepadModifier and TypeMethodDescription@Nullable SDL_GamepadSDL_Gamepad.Ptr.read()@Nullable SDL_GamepadSDL_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.PtrSDL_Gamepad.Ptr.allocate(Arena arena, @Nullable SDL_Gamepad[] values) static SDL_Gamepad.PtrSDL_Gamepad.Ptr.allocateV(Arena arena, @Nullable SDL_Gamepad value0, @Nullable SDL_Gamepad... values) voidSDL_Gamepad.Ptr.write(long index, @Nullable SDL_Gamepad value) voidSDL_Gamepad.Ptr.write(@Nullable SDL_Gamepad value) voidSDL_Gamepad.Ptr.write(@Nullable SDL_Gamepad[] values) voidSDL_Gamepad.Ptr.writeV(@Nullable SDL_Gamepad value0, @Nullable SDL_Gamepad... values)