using System;
namespace Artemis.Core.Services
{
///
/// Contains data for input provider keyboard events
///
public class InputProviderKeyboardEventArgs : EventArgs
{
///
///
/// The device that triggered the event
/// The key that triggered the event
/// Whether the key is pressed down
public InputProviderKeyboardEventArgs(ArtemisDevice device, InputKey key, bool isDown)
{
Device = device;
Key = key;
IsDown = isDown;
}
///
/// Gets the device that triggered the event
///
public ArtemisDevice Device { get; }
///
/// Gets the key that triggered the event
///
public InputKey Key { get; }
///
/// Gets whether the key is pressed down
///
public bool IsDown { get; }
}
}