EventCheckerCheckAnySymmetricalModifiers Method |
Verifies if any of the "symmetrical" keyboard modifiers, defined in the event, are
currently in effect (pressed and hold). The exact match is required.
Namespace:
KSPDev.InputUtils
Assembly:
KSPDev_Utils.2.2 (in KSPDev_Utils.2.2.dll) Version: 2.2 for KSP v1
Syntaxpublic static bool CheckAnySymmetricalModifiers(
Event ev
)
Request Example
View SourceParameters
- ev
- Type: UnityEngineEvent
The event to get modifiers from.
Return Value
Type:
Booleantrue if the the current hold modifier(s) match the event.
Remarks
The "symmetrical modifiers" are modifier keys that are represented on the both sides of a
standard 101-key keyboard and, thus, have "left" and "right" keys.
These are: ALT, CTRL, SHIFT, and COMMAND.
See Also