table of contents
other versions
SDL_HapticOpenFromMouse(3) | SDL3 FUNCTIONS | SDL_HapticOpenFromMouse(3) |
NAME¶
SDL_HapticOpenFromMouse - Try to open a haptic device from the current mouse.
SYNOPSIS¶
#include "SDL3/SDL.h"
SDL_Haptic* SDL_HapticOpenFromMouse(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_HapticOpen(3), SDL_MouseIsHaptic(3)
SDL 3.0.0 | SDL |