Man page - sdl_openhapticfrommouse(3)
Packages contains this manual
Manual
SDL_OpenHapticFromMouse
NAMEHEADER FILE
SYNOPSIS
RETURN VALUE
AVAILABILITY
SEE ALSO
NAME
SDL_OpenHapticFromMouse - Try to open a haptic device from the current mouse.
HEADER FILE
Defined in SDL3/SDL_haptic.h
SYNOPSIS
#include "SDL3/SDL.h"
SDL_Haptic * SDL_OpenHapticFromMouse(void);
RETURN VALUE
(
SDL_Haptic
*) Returns the haptic device identifier or NULL on failure;
call
SDL_GetError
() for more information.
AVAILABILITY
This function is available since SDL 3.2.0.
SEE ALSO
• (3), SDL_CloseHaptic (3), • (3), SDL_IsMouseHaptic (3)