SDL_OpenHapticFromMouse(3)

SDL_OpenHapticFromMouse3

Try to open a haptic device from the current mouse.

Usage

#include "SDL3/SDL.h"

SDL_Haptic * SDL_OpenHapticFromMouse(void);

Header file

Defined in SDL3/SDL_haptic.h

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.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.