KeyboardGetKeyName(KeyboardKeyCode) Method |
Gets the display name for the specified key code.
This may return words and/or symbols for some keys. Example: "Keypad 0", ";", "Back Quote".
The returned value will be localized if localization is in use.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Syntaxpublic static string GetKeyName(
KeyboardKeyCode key
)
Parameters
- key KeyboardKeyCode
- The key code of the key.
Return Value
StringThe display name for the specified key code. The returned value will be localized if localization is in use.
See Also