Click or drag to resize

EventChecker Class

A helper to verify various event handling conditions.
Inheritance Hierarchy
SystemObject
  KSPDev.InputUtilsEventChecker

Namespace:  KSPDev.InputUtils
Assembly:  KSPDev_Utils.2.2 (in KSPDev_Utils.2.2.dll) Version: 2.2 for KSP v1
Syntax
C#
public static class EventChecker
Request Example View Source

The EventChecker type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCheckAnySymmetricalModifiers
Verifies if any of the "symmetrical" keyboard modifiers, defined in the event, are currently in effect (pressed and hold). The exact match is required.
Public methodStatic memberCheckClickEvent
Checks if the mouse click event has happen during the frame.
Public methodStatic memberCheckLeftSymmetricalModifiers
Verifies if the left-side "symmetrical" keyboard modifiers, defined in the event, are currently in effect (pressed and hold). The exact match is required.
Public methodStatic memberCheckRightSymmetricalModifiers
Verifies if the right-side "symmetrical" keyboard modifiers, defined in the event, are currently in effect (pressed and hold). The exact match is required.
Public methodStatic memberGetInputButtonFromEvent
Extracts mouse button from a keyboard event definition.
Public methodStatic memberIsModifierCombinationPressed Obsolete.
Verifies that the requested key modifiers are pressed.
Top
See Also