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 TypeMethodDescriptionvoidSDL3.closeHaptic(@Nullable SDL_Haptic haptic) Close a haptic device previously opened with SDL_OpenHaptic().intSDL3.createHapticEffect(@Nullable SDL_Haptic haptic, @Nullable ISDL_HapticEffect effect) Create a new haptic effect on a specified device.voidSDL3.destroyHapticEffect(@Nullable SDL_Haptic haptic, int effect) Destroy a haptic effect on the device.booleanSDL3.getHapticEffectStatus(@Nullable SDL_Haptic haptic, int effect) Get the status of the current effect on the specified haptic device.intSDL3.getHapticFeatures(@Nullable SDL_Haptic haptic) Get the haptic device's supported features in bitwise manner.intSDL3.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.intSDL3.getMaxHapticEffects(@Nullable SDL_Haptic haptic) Get the number of effects a haptic device can store.intSDL3.getMaxHapticEffectsPlaying(@Nullable SDL_Haptic haptic) Get the number of effects a haptic device can play at the same time.intSDL3.getNumHapticAxes(@Nullable SDL_Haptic haptic) Get the number of haptic axes the device has.booleanSDL3.hapticEffectSupported(@Nullable SDL_Haptic haptic, @Nullable ISDL_HapticEffect effect) Check to see if an effect is supported by a haptic device.booleanSDL3.hapticRumbleSupported(@Nullable SDL_Haptic haptic) Check whether rumble is supported on a haptic device.booleanSDL3.initHapticRumble(@Nullable SDL_Haptic haptic) Initialize a haptic device for simple rumble playback.booleanSDL3.pauseHaptic(@Nullable SDL_Haptic haptic) Pause a haptic device.booleanSDL3.playHapticRumble(@Nullable SDL_Haptic haptic, float strength, int length) Run a simple rumble effect on a haptic device.booleanSDL3.resumeHaptic(@Nullable SDL_Haptic haptic) Resume a haptic device.booleanSDL3.runHapticEffect(@Nullable SDL_Haptic haptic, int effect, int iterations) Run the haptic effect on its associated haptic device.booleanSDL3.setHapticAutocenter(@Nullable SDL_Haptic haptic, int autocenter) Set the global autocenter of the device.booleanSDL3.setHapticGain(@Nullable SDL_Haptic haptic, int gain) Set the global gain of the specified haptic device.booleanSDL3.stopHapticEffect(@Nullable SDL_Haptic haptic, int effect) Stop the haptic effect on its associated haptic device.booleanSDL3.stopHapticEffects(@Nullable SDL_Haptic haptic) Stop all the currently playing effects on a haptic device.booleanSDL3.stopHapticRumble(@Nullable SDL_Haptic haptic) Stop the simple rumble on a haptic device.booleanSDL3.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 recordRepresents a pointer toSDL_Haptichandle(s) in native memory.Methods in club.doki7.sdl3.handle that return SDL_HapticModifier and TypeMethodDescription@Nullable SDL_HapticSDL_Haptic.Ptr.read()@Nullable SDL_HapticSDL_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.PtrSDL_Haptic.Ptr.allocate(Arena arena, @Nullable SDL_Haptic[] values) static SDL_Haptic.PtrSDL_Haptic.Ptr.allocateV(Arena arena, @Nullable SDL_Haptic value0, @Nullable SDL_Haptic... values) voidSDL_Haptic.Ptr.write(long index, @Nullable SDL_Haptic value) voidSDL_Haptic.Ptr.write(@Nullable SDL_Haptic value) voidSDL_Haptic.Ptr.write(@Nullable SDL_Haptic[] values) voidSDL_Haptic.Ptr.writeV(@Nullable SDL_Haptic value0, @Nullable SDL_Haptic... values)