Example #1
0
 // Methods
 public TouchEventArgs(InputDevice inputDevice, DateTime timestamp, TouchInput[] touches)
     : base(inputDevice, timestamp) => this.Touches = touches;
 public InputReportEventArgs(InputDevice inputDevice, InputReport report) : base(inputDevice, (report != null) ? report.Timestamp : DateTime.MinValue)
 {
     this.Report = report ?? throw new ArgumentNullException("report");
 }
 public GenericEventArgs(InputDevice inputDevice, GenericEvent genericEvent) : base(inputDevice, genericEvent.Time)
 {
     this.InternalEvent = genericEvent;
 }