carb::input::getModifierFlagFromString

Defined in carb/input/InputUtils.h

inline KeyboardModifierFlags carb::input::getModifierFlagFromString(const char *inputString)

Converts a keyboard modifier flag string to a KeyboardModifierFlags.

Parameters

inputString – The string to convert.

Returns

A KeyboardModifierFlags, or 0 if the string is not known.