KeyboardGetModifierKeyName(ModifierKey, Boolean) Method |
Gets the display name for the specified modifier key.
The returned value will be localized if localization is in use.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntaxpublic static string GetModifierKeyName(
ModifierKey modifierKey,
bool getShortName
)
Parameters
- modifierKey ModifierKey
- The modifier key.
- getShortName Boolean
- If true, the short name will be returned (Ctrl). If false, the long name will be returned (Control).
Return Value
StringThe the display name for the specified modifier key. The returned value will be localized if localization is in use.
See Also