logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_GetNumHapticAxes - Get the number of haptic axes the device has.

Availability

       This function is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.20                            SDL_GetNumHapticAxes(3)

Description

       The number of haptic axes might be useful if working with the SDL_HapticDirection effect.

Function Parameters

haptic the SDL_Haptic device to query.

Name

       SDL_GetNumHapticAxes - Get the number of haptic axes the device has.

Return Value

       for more information.

Synopsis

#include<SDL3/SDL_haptic.h>intSDL_GetNumHapticAxes(SDL_Haptic*haptic);

See Also