carb::input::getModifierFlagString

Defined in carb/input/InputUtils.h

inline const char *carb::input::getModifierFlagString(KeyboardModifierFlags flag)

Returns a string representation of the keyboard modifier flag.

Note

Exactly one KeyboardModifierFlags must be specified in flag.

Parameters

flag – KeyboardModifierFlags

Returns

A string representation of the keyboard modifier flag, or an empty string if unknown.