sdlMouseIsHaptic function

int sdlMouseIsHaptic()

Query whether or not the current mouse has haptic capabilities.

\returns SDL_TRUE if the mouse is haptic or SDL_FALSE if it isn't.

\since This function is available since SDL 2.0.0.

\sa SDL_HapticOpenFromMouse

extern DECLSPEC int SDLCALL SDL_MouseIsHaptic(void)

Implementation

int sdlMouseIsHaptic() {
  final sdlMouseIsHapticLookupFunction = libSdl2
      .lookupFunction<Int32 Function(), int Function()>('SDL_MouseIsHaptic');
  return sdlMouseIsHapticLookupFunction();
}