Click or drag to resize

KeyboardModifierKeyFlagsToModifierKey Method

Converts modifier key flags to a modifier key.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static ModifierKey ModifierKeyFlagsToModifierKey(
	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: ModifierKey
Modifier key equivalent of the modifier key flags. If none, returns ModifierKey.None.
See Also