Interface IInputEvents
A collection of input events.
Namespace: AGS.API
Assembly: AGS.API.dll
Syntax
public interface IInputEvents
Properties
| Improve this Doc View SourceKeyDown
An event which is triggered when the user presses down one of the keys on the keyboard. The event argumens specify which key was pressed.
Declaration
IEvent<KeyboardEventArgs> KeyDown { get; }
Property Value
Type | Description |
---|---|
IEvent<KeyboardEventArgs> | The event. |
KeyUp
An event which is triggered when the user releases one of the keys on the keyboard (which was previously released). The event arguments specify which key was released.
Declaration
IEvent<KeyboardEventArgs> KeyUp { get; }
Property Value
Type | Description |
---|---|
IEvent<KeyboardEventArgs> | The event. |
MouseDown
An event which is triggered when the user presses down one of the mouse buttons. The event arguments specify which mouse button was pressed and where on the screen.
Declaration
IEvent<MouseButtonEventArgs> MouseDown { get; }
Property Value
Type | Description |
---|---|
IEvent<MouseButtonEventArgs> | The event. |
MouseMove
An event which is triggered every time the user moves the mouse. The event arguments specify the location that the mouse moved to.
Declaration
IEvent<MousePositionEventArgs> MouseMove { get; }
Property Value
Type | Description |
---|---|
IEvent<MousePositionEventArgs> | The event. |
MouseUp
An event which is triggered when the user releases one of the mouse buttons (which was previously pressed). The event arguments specify which mouse button was released and where on the screen.
Declaration
IEvent<MouseButtonEventArgs> MouseUp { get; }
Property Value
Type | Description |
---|---|
IEvent<MouseButtonEventArgs> | The event. |