getGameControllerName method

String getGameControllerName(
  1. int index
)

Get the implementation dependent name for the game controller.

Returns the name of the game controller with the given index.

SDL Docs

Implementation

String getGameControllerName(final int index) =>
    sdl.SDL_GameControllerNameForIndex(index).cast<Utf8>().toDartString();