Uses of Record Class
club.doki7.sdl3.handle.SDL_Haptic
Packages that use SDL_Haptic
-
Uses of SDL_Haptic in club.doki7.sdl3
Methods in club.doki7.sdl3 that return SDL_HapticModifier and TypeMethodDescriptionSDL3.getHapticFromID
(int instance_id) Get the SDL_Haptic associated with an instance ID, if it has been opened.SDL3.openHaptic
(int instance_id) Open a haptic device for use.SDL3.openHapticFromJoystick
(@Nullable SDL_Joystick joystick) Open a haptic device for use from a joystick device.SDL3.openHapticFromMouse()
Try to open a haptic device from the current mouse.Methods in club.doki7.sdl3 with parameters of type SDL_HapticModifier and TypeMethodDescriptionvoid
SDL3.closeHaptic
(@Nullable SDL_Haptic haptic) Close a haptic device previously opened with SDL_OpenHaptic().int
SDL3.createHapticEffect
(@Nullable SDL_Haptic haptic, @Nullable ISDL_HapticEffect effect) Create a new haptic effect on a specified device.void
SDL3.destroyHapticEffect
(@Nullable SDL_Haptic haptic, int effect) Destroy a haptic effect on the device.boolean
SDL3.getHapticEffectStatus
(@Nullable SDL_Haptic haptic, int effect) Get the status of the current effect on the specified haptic device.int
SDL3.getHapticFeatures
(@Nullable SDL_Haptic haptic) Get the haptic device's supported features in bitwise manner.int
SDL3.getHapticID
(@Nullable SDL_Haptic haptic) Get the instance ID of an opened haptic device.SDL3.getHapticName
(@Nullable SDL_Haptic haptic) Get the implementation dependent name of a haptic device.int
SDL3.getMaxHapticEffects
(@Nullable SDL_Haptic haptic) Get the number of effects a haptic device can store.int
SDL3.getMaxHapticEffectsPlaying
(@Nullable SDL_Haptic haptic) Get the number of effects a haptic device can play at the same time.int
SDL3.getNumHapticAxes
(@Nullable SDL_Haptic haptic) Get the number of haptic axes the device has.boolean
SDL3.hapticEffectSupported
(@Nullable SDL_Haptic haptic, @Nullable ISDL_HapticEffect effect) Check to see if an effect is supported by a haptic device.boolean
SDL3.hapticRumbleSupported
(@Nullable SDL_Haptic haptic) Check whether rumble is supported on a haptic device.boolean
SDL3.initHapticRumble
(@Nullable SDL_Haptic haptic) Initialize a haptic device for simple rumble playback.boolean
SDL3.pauseHaptic
(@Nullable SDL_Haptic haptic) Pause a haptic device.boolean
SDL3.playHapticRumble
(@Nullable SDL_Haptic haptic, float strength, int length) Run a simple rumble effect on a haptic device.boolean
SDL3.resumeHaptic
(@Nullable SDL_Haptic haptic) Resume a haptic device.boolean
SDL3.runHapticEffect
(@Nullable SDL_Haptic haptic, int effect, int iterations) Run the haptic effect on its associated haptic device.boolean
SDL3.setHapticAutocenter
(@Nullable SDL_Haptic haptic, int autocenter) Set the global autocenter of the device.boolean
SDL3.setHapticGain
(@Nullable SDL_Haptic haptic, int gain) Set the global gain of the specified haptic device.boolean
SDL3.stopHapticEffect
(@Nullable SDL_Haptic haptic, int effect) Stop the haptic effect on its associated haptic device.boolean
SDL3.stopHapticEffects
(@Nullable SDL_Haptic haptic) Stop all the currently playing effects on a haptic device.boolean
SDL3.stopHapticRumble
(@Nullable SDL_Haptic haptic) Stop the simple rumble on a haptic device.boolean
SDL3.updateHapticEffect
(@Nullable SDL_Haptic haptic, int effect, @Nullable ISDL_HapticEffect data) Update the properties of an effect. -
Uses of SDL_Haptic in club.doki7.sdl3.handle
Classes in club.doki7.sdl3.handle that implement interfaces with type arguments of type SDL_HapticModifier and TypeClassDescriptionstatic final record
Represents a pointer toSDL_Haptic
handle(s) in native memory.Methods in club.doki7.sdl3.handle that return SDL_HapticModifier and TypeMethodDescription@Nullable SDL_Haptic
SDL_Haptic.Ptr.read()
@Nullable SDL_Haptic
SDL_Haptic.Ptr.read
(long index) Methods in club.doki7.sdl3.handle that return types with arguments of type SDL_HapticMethods in club.doki7.sdl3.handle with parameters of type SDL_HapticModifier and TypeMethodDescriptionstatic SDL_Haptic.Ptr
SDL_Haptic.Ptr.allocate
(Arena arena, @Nullable SDL_Haptic[] values) static SDL_Haptic.Ptr
SDL_Haptic.Ptr.allocateV
(Arena arena, @Nullable SDL_Haptic value0, @Nullable SDL_Haptic... values) void
SDL_Haptic.Ptr.write
(long index, @Nullable SDL_Haptic value) void
SDL_Haptic.Ptr.write
(@Nullable SDL_Haptic value) void
SDL_Haptic.Ptr.write
(@Nullable SDL_Haptic[] values) void
SDL_Haptic.Ptr.writeV
(@Nullable SDL_Haptic value0, @Nullable SDL_Haptic... values)