EonaCat.HID/EonaCat.HID/EventArguments/HidDataReceivedEventArgs.cs

23 lines
638 B
C#

using EonaCat.HID.Models;
using System;
namespace EonaCat.HID.EventArguments
{
// This file is part of the EonaCat project(s) which is released under the Apache License.
// See the LICENSE file or go to https://EonaCat.com/license for full license details.
/// <summary>
/// Event args for received data
/// </summary>
public class HidDataReceivedEventArgs : EventArgs
{
public IHid Device { get; }
public HidReport Report { get; }
public HidDataReceivedEventArgs(IHid device, HidReport report)
{
Device = device;
Report = report;
}
}
}