Click or drag to resize

KeyboardGetModifierKeyName Method (ModifierKey, Boolean)

Gets the display name for the specified modifier key. The returned value will be localized if localization is in use.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static string GetModifierKeyName(
	ModifierKey modifierKey,
	bool getShortName
)

Parameters

modifierKey
Type: RewiredModifierKey
The modifier key.
getShortName
Type: SystemBoolean
If true, the short name will be returned (Ctrl). If false, the long name will be returned (Control).

Return Value

Type: String
The the display name for the specified modifier key. The returned value will be localized if localization is in use.
See Also