Click or drag to resize

KeyboardGetKeyName(KeyCode) 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: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static string GetKeyName(
	KeyCode key
)

Parameters

key  KeyCode
The key code of the key.

Return Value

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