KeyboardGetModifierKeyName(ModifierKey) Method |
Gets the display name for the specified modifier key.
This will return the long name for modifier keys (Control instead of Ctrl).
To get the short name, use the
ModifierKeyFlagsToString(ModifierKeyFlags, Boolean) overload.
The returned value will be localized if localization is in use.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static string GetModifierKeyName(
ModifierKey modifierKey
)
Parameters
- modifierKey ModifierKey
- The modifier key.
Return Value
StringThe the display name for the specified modifier key. The returned value will be localized if localization is in use.
See Also