sdlGameControllerNumMappings function

int sdlGameControllerNumMappings()

Get the number of mappings installed.

\returns the number of mappings.

\since This function is available since SDL 2.0.6.

extern DECLSPEC int SDLCALL SDL_GameControllerNumMappings(void)

Implementation

int sdlGameControllerNumMappings() {
  final sdlGameControllerNumMappingsLookupFunction =
      libSdl2.lookupFunction<Int32 Function(), int Function()>(
          'SDL_GameControllerNumMappings');
  return sdlGameControllerNumMappingsLookupFunction();
}