HPS.InputEvent
- class HPS.InputEvent : public HPS.Event
The InputEvent class is the base class for input events such as MouseEvent, TouchEvent, and KeyboardEvent. It contains functionality which is common to all input event types, namely the state of modifier keys.
Subclassed by HPS.KeyboardEvent, HPS.MouseEvent, HPS.TouchEvent
Public Functions
- override HPS.Event Clone ()
Allocates and returns a copy of this InputEvent.
- Return
A copy of this InputEvent.
- bool Equals (HPS.InputEvent in_that)
Check if the source object is equivalent to this object.
- Return
true if the objects are equivalent, false otherwise.
- HPS.ModifierKeys GetModifierKeys ()
Queries which modifier keys are active
- Return
A ModifierKeys object, which represents which modifier keys are active
- InputEvent ()
This constructor creates a default InputEvent object.
- InputEvent (HPS.ModifierKeys in_modifiers)
This constructor creates a new InputEvent with the specified modifier keys initialized.
- Param in_modifiers
The modifier keys associated with the new Event.