carb::input::getKeyboardInputFromString

Defined in carb/input/InputUtils.h

inline KeyboardInput carb::input::getKeyboardInputFromString(const char *inputString)

Converts a keyboard input string to a KeyboardInput.

Parameters

inputString – The string to convert.

Returns

A KeyboardInput, or KeyboardInput::eUnknown if the string is not known.