Click or drag to resize

KeyboardModifierKeyFlagsToKeyCode Method

Converts modifier key flags to a key code.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static KeyCode ModifierKeyFlagsToKeyCode(
	ModifierKeyFlags flags
)

Parameters

flags
Type: RewiredModifierKeyFlags
The modifier key flags. Only one modifier key flag value should be passed at a time.

Return Value

Type: KeyCode
Key code equivalent of the modifier key flags. If none, returns KeyCode.None.
See Also