sdlOpenHapticFromMouse function haptic
Try to open a haptic device from the current mouse.
\returns the haptic device identifier or NULL on failure; call SDL_GetError() for more information.
\since This function is available since SDL 3.2.0.
\sa SDL_CloseHaptic \sa SDL_IsMouseHaptic
extern SDL_DECLSPEC SDL_Haptic * SDLCALL SDL_OpenHapticFromMouse(void)
Implementation
Pointer<SdlHaptic> sdlOpenHapticFromMouse() {
final sdlOpenHapticFromMouseLookupFunction = _libSdl
.lookupFunction<
Pointer<SdlHaptic> Function(),
Pointer<SdlHaptic> Function()
>('SDL_OpenHapticFromMouse');
return sdlOpenHapticFromMouseLookupFunction();
}