table of contents
SDL_OpenHapticFromMouse(3) | SDL3 FUNCTIONS | SDL_OpenHapticFromMouse(3) |
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¶
Returns the haptic device identifier or NULL on failure; call
SDL_GetError () for more information.
AVAILABILITY¶
This function is available since SDL 3.0.0.
SEE ALSO¶
SDL 3.1.2 | Simple Directmedia Layer |