Click or drag to resize

KeyboardModifierKeyFlagsContain Method (ModifierKeyFlags, ModifierKey)

Determines if the modifier key flags contains a specific modifier key.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static bool ModifierKeyFlagsContain(
	ModifierKeyFlags flags,
	ModifierKey key
)

Parameters

flags
Type: RewiredModifierKeyFlags
Modifier key flags.
key
Type: RewiredModifierKey
The key code of the modifier key.

Return Value

Type: Boolean
True if the modifier key flags contains a specific modifier key, false if not.
See Also