carb::input::getModifierFlagsString

Defined in carb/input/InputUtils.h

inline std::string carb::input::getModifierFlagsString(KeyboardModifierFlags mod)

Returns a string of all modifier flags present.

Parameters

mod – Zero or more KeyboardModifierFlags bitwise-or’d together.

Returns

A string representation of all modifier flags present, joined by kModifierSeparator. If no modifier flags are present in mod, an empty string is returned.