Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

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