isGameController method

bool isGameController(
  1. int index
)

Returns true if the joystick at index is a game controller.

SDL Docs

Implementation

bool isGameController(final int index) =>
    getBool(sdl.SDL_IsGameController(index));