sdlNumHaptics function
Count the number of haptic devices attached to the system.
\returns the number of haptic devices detected on the system or a negative error code on failure; call SDL_GetError() for more information.
\since This function is available since SDL 2.0.0.
\sa SDL_HapticName
extern DECLSPEC int SDLCALL SDL_NumHaptics(void)
Implementation
int sdlNumHaptics() {
final sdlNumHapticsLookupFunction = libSdl2
.lookupFunction<Int32 Function(), int Function()>('SDL_NumHaptics');
return sdlNumHapticsLookupFunction();
}