mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
31 lines
1.0 KiB
C#
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; }
|
|
}
|
|
} |