Skip to main content

GenericEvent Class

NuGet: GHIElectronics.TinyCLR.UI
Assembly: GHIElectronics.TinyCLR.UI
Namespace: GHIElectronics.TinyCLR.UI.Input

Represents a generic input event with category, data and position.

public class GenericEvent : BaseEvent

Fields​

EventCategory​

public byte EventCategory

The category of the event.

EventData​

public uint EventData

The data payload associated with the event.

X​

public int X

The x coordinate associated with the event.

Y​

public int Y

The y coordinate associated with the event.

Time​

public DateTime Time

The time when the event occurred.