sdlOpenHapticFromMouse function
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.1.3.
\sa SDL_CloseHaptic \sa SDL_IsMouseHaptic
extern SDL_DECLSPEC SDL_Haptic * SDLCALL SDL_OpenHapticFromMouse(void)
Implementation
Pointer<SdlHaptic> sdlOpenHapticFromMouse() {
final sdlOpenHapticFromMouseLookupFunction = libSdl3.lookupFunction<
Pointer<SdlHaptic> Function(),
Pointer<SdlHaptic> Function()>('SDL_OpenHapticFromMouse');
return sdlOpenHapticFromMouseLookupFunction();
}