Click or drag to resize

KeyboardKeyCodeToModifierKeyFlags Method

Gets the modifier key flags for the specified key code. For example, KeyboardKeyCode.LeftShift will return ModifierKeyFlags.LeftShift.

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Syntax
C#
public static ModifierKeyFlags KeyCodeToModifierKeyFlags(
	KeyboardKeyCode key
)

Parameters

key  KeyboardKeyCode
The key code of the key.

Return Value

ModifierKeyFlags
The modifier key flags for the specified key code. If the key code does not represent a modifier key, ModifierKeyFlags.None will be returned.
See Also