getConnectedGamepads

WindowModuleInterface::getConnectedGamepads

Returns the list of connected gamepads.

Declaration

virtual std::vector<GamepadID> getConnectedGamepads() = 0;

Parameters

None

Returns

An std::vector of all connected GamepadIDs.

If no gamepad is connected, the returned std::vector is empty.