Class InputProviderMouseButtonEventArgs
Contains data for input provider mouse button events
Inherited Members
Namespace: Artemis.Core.Services
Assembly: Artemis.Core.dll
Syntax
public class InputProviderMouseButtonEventArgs : EventArgs
Constructors
InputProviderMouseButtonEventArgs(ArtemisDevice?, MouseButton, bool)
Declaration
public InputProviderMouseButtonEventArgs(ArtemisDevice? device, MouseButton button, bool isDown)
Parameters
| Type | Name | Description |
|---|---|---|
| ArtemisDevice | device | The device that triggered the event |
| MouseButton | button | The button that triggered the event |
| bool | isDown | Whether the button is pressed down |
Properties
Button
Gets the button that triggered the event
Declaration
public MouseButton Button { get; }
Property Value
| Type | Description |
|---|---|
| MouseButton |
Device
Gets the device that triggered the event
Declaration
public ArtemisDevice? Device { get; }
Property Value
| Type | Description |
|---|---|
| ArtemisDevice |
IsDown
Gets whether the button is pressed down
Declaration
public bool IsDown { get; }
Property Value
| Type | Description |
|---|---|
| bool |