Class InputProviderMouseScrollEventArgs
Contains data for input provider mouse button events
Inherited Members
Namespace: Artemis.Core.Services
Assembly: Artemis.Core.dll
Syntax
public class InputProviderMouseScrollEventArgs : EventArgs
Constructors
InputProviderMouseScrollEventArgs(ArtemisDevice?, MouseScrollDirection, int)
Declaration
public InputProviderMouseScrollEventArgs(ArtemisDevice? device, MouseScrollDirection direction, int delta)
Parameters
Type | Name | Description |
---|---|---|
ArtemisDevice | device | The device that triggered the event |
MouseScrollDirection | direction | The direction in which was scrolled |
int | delta | The scroll delta (can positive or negative) |
Properties
Delta
Gets the scroll delta (can positive or negative)
Declaration
public int Delta { get; }
Property Value
Type | Description |
---|---|
int |
Device
Gets the device that triggered the event
Declaration
public ArtemisDevice? Device { get; }
Property Value
Type | Description |
---|---|
ArtemisDevice |
Direction
Gets the direction in which was scrolled
Declaration
public MouseScrollDirection Direction { get; }
Property Value
Type | Description |
---|---|
MouseScrollDirection |