sdlHapticNumAxes function
Get the number of haptic axes the device has.
The number of haptic axes might be useful if working with the SDL_HapticDirection effect.
\param haptic the SDL_Haptic device to query \returns the number of axes on success or a negative error code on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
extern DECLSPEC int SDLCALL SDL_HapticNumAxes(SDL_Haptic * haptic)
Implementation
int sdlHapticNumAxes(Pointer<SdlHaptic> haptic) {
final sdlHapticNumAxesLookupFunction = libSdl2.lookupFunction<
Int32 Function(Pointer<SdlHaptic> haptic),
int Function(Pointer<SdlHaptic> haptic)>('SDL_HapticNumAxes');
return sdlHapticNumAxesLookupFunction(haptic);
}