getGamepadName

WindowModuleInterface::getGamepadName

Returns the name of the gamepad.

Declaration

virtual std::string getGamepadName(GamepadID gamepadID) = 0;

Parameters

Name

Type

Description

gamepadID

GamepadID

The gamepad to get the name of.

Returns

An std::string containing the name of the gamepad.

The gamepad’s name may be empty, this function will then return the empty string "".