instanceId property

int instanceId

Get the ID of this joystick.

SDL Docs

Implementation

int get instanceId =>
    sdl.checkReturnValue(sdl.sdl.SDL_JoystickInstanceID(handle));