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