carb::input::getGamepadInputFromString

Defined in carb/input/InputUtils.h

inline GamepadInput carb::input::getGamepadInputFromString(const char *inputString)

Converts a gamepad input string to a GamepadInput.

Parameters

inputString – The string to convert.

Returns

A GamepadInput, or GamepadInput::eCount if the string is not known.