1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00
Artemis/src/Artemis.Core/Services/Input/Events/InputProviderIdentifierEventArgs.cs
SpoinkyNL f1f0abfec5 Input - Polished up UI
Input - Added events to service
2020-11-23 19:41:48 +01:00

31 lines
1.0 KiB
C#

using System;
namespace Artemis.Core.Services
{
/// <summary>
/// Contains data for input provider identifier events
/// </summary>
public class InputProviderIdentifierEventArgs : EventArgs
{
/// <summary>
/// Creates a new instance of the <see cref="InputProviderIdentifierEventArgs" /> class
/// </summary>
/// <param name="identifier">A value that can be used to identify this device</param>
/// <param name="deviceType">The type of device this identifier belongs to</param>
public InputProviderIdentifierEventArgs(object identifier, InputDeviceType deviceType)
{
Identifier = identifier;
DeviceType = deviceType;
}
/// <summary>
/// Gets a value that can be used to identify this device
/// </summary>
public object Identifier { get; }
/// <summary>
/// Gets the type of device this identifier belongs to
/// </summary>
public InputDeviceType DeviceType { get; }
}
}