sdlStopHapticRumble function
Stop the simple rumble on a haptic device.
\param haptic the haptic device to stop the rumble effect on. \returns true on success or false on failure; call SDL_GetError() for more information.
\since This function is available since SDL 3.1.3.
\sa SDL_PlayHapticRumble
extern SDL_DECLSPEC bool SDLCALL SDL_StopHapticRumble(SDL_Haptic *haptic)
Implementation
bool sdlStopHapticRumble(Pointer<SdlHaptic> haptic) {
final sdlStopHapticRumbleLookupFunction = libSdl3.lookupFunction<
Uint8 Function(Pointer<SdlHaptic> haptic),
int Function(Pointer<SdlHaptic> haptic)>('SDL_StopHapticRumble');
return sdlStopHapticRumbleLookupFunction(haptic) == 1;
}