carb::input::getModifierFlagsFromString

Defined in carb/input/InputUtils.h

inline KeyboardModifierFlags carb::input::getModifierFlagsFromString(const char *modString)

Returns KeyboardModifierFlags composed of all the flags from a given string.

Parameters

modString – A string as returned by getModifierFlagsString().

Returns

A KeyboardModifierFlags with 0 or more bits set based on modString.