SDL_GetNumHapticAxes - Man Page

Get the number of haptic axes the device has.

Synopsis

#include <SDL3/SDL_haptic.h>

int SDL_GetNumHapticAxes(SDL_Haptic *haptic);

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.

Return Value

for more information.

Availability

This function is available since SDL 3.2.0.

Referenced By

SDL_HapticDirection.3type(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS