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 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:
KeyCodeKey code equivalent of the modifier key flags. If none, returns KeyCode.None.
See Also