DRAFT |
SDL_HapticNumAxes
Use this function to get the number of haptic axes the device has.
Syntax
int SDL_HapticNumAxes(SDL_Haptic* haptic)
Function Parameters
haptic |
the SDL_Haptic device to query |
Return Value
Returns the number of axes on success or a negative error code on failure; call SDL_GetError() for more information.
Code Examples
You can add your code example here
Remarks
The number of haptic axes might be useful if working with the SDL_HapticDirection effect.