using System;
namespace Artemis.Core.Services;
///
/// Contains data for input provider mouse button events
///
public class InputProviderMouseButtonEventArgs : EventArgs
{
///
///
/// The device that triggered the event
/// The button that triggered the event
/// Whether the button is pressed down
public InputProviderMouseButtonEventArgs(ArtemisDevice? device, MouseButton button, bool isDown)
{
Device = device;
Button = button;
IsDown = isDown;
}
///
/// Gets the device that triggered the event
///
public ArtemisDevice? Device { get; }
///
/// Gets the button that triggered the event
///
public MouseButton Button { get; }
///
/// Gets whether the button is pressed down
///
public bool IsDown { get; }
}