getConnectedGamepads static method

Iterable<int> getConnectedGamepads()

Gets a list of currently connected gamepads.

Implementation

static Iterable<int> getConnectedGamepads() => isSdlSupported
  ? SdlGamepad.getConnectedGamepadIds() : [];