Programming API Reference: EduGraf.UI
Enum public Pressing
The direction of the key or button changing.Interface IInputEvent
This is the abstract base class for event handling.Struct public readonly KeyInputEvent
This is the concrete class for key events.Property public Pressing Pressing { get; }: if the key is going down or upProperty public ConsoleKey Key { get; }: that was pressed
Struct public readonly MouseButtonEvent
This is the concrete class for mouse button events.Property public Pressing Pressing { get; }: if the button is going down or upProperty public MouseButton Button { get; }: that was pressed
Struct public readonly MouseMoveEvent
This is the concrete class for mouse move events.Property public float X { get; }: absolute position in pixelsProperty public float Y { get; }: absolute position in pixels
Struct public readonly MouseScrollEvent
This is the concrete class for mouse scroll events.Property public float DeltaX { get; }: relative position in pixelsProperty public float DeltaY { get; }: relative position in pixels