countDevices method

int countDevices()

Returns the number of currently connected and mapped gamepads.

This number of gamepads that the system is actively tracking, up to MAX_PORTS.

Implementation

int countDevices() {
  return _backend.connectedCount;
}