using System;
namespace Artemis.Core.Services
{
///
/// Contains data for input provider mouse button events
///
public class InputProviderMouseScrollEventArgs : EventArgs
{
///
///
/// The device that triggered the event
/// The direction in which was scrolled
/// The scroll delta (can positive or negative)
public InputProviderMouseScrollEventArgs(ArtemisDevice? device, MouseScrollDirection direction, int delta)
{
Device = device;
Direction = direction;
Delta = delta;
}
///
/// Gets the device that triggered the event
///
public ArtemisDevice? Device { get; }
///
/// Gets the direction in which was scrolled
///
public MouseScrollDirection Direction { get; }
///
/// Gets the scroll delta (can positive or negative)
///
public int Delta { get; }
}
}