Enum MouseButtonState
The current state for the mouse buttons.
Namespace: Gorgon.Input
Assembly: Gorgon.Input.dll
Syntax
[Flags]
public enum MouseButtonState : short
Remarks
This is used by the GorgonRawMouseData value type to determine if a specific button is being held down, or released. It is not intended for use in general applications.
Fields
Name | Description |
---|---|
Button4Down | The fifth button was held down. |
Button4Up | The fourth button was released. |
Button5Down | The fourth button was held down. |
Button5Up | The fifth button was released. |
ButtonLeftDown | The left button was held down (button 1). |
ButtonLeftUp | The left button was released (button 1). |
ButtonMiddleDown | The middle button was held down (button 3). |
ButtonMiddleUp | The middle button was released (button 3). |
ButtonRightDown | The right button was held down (button 2). |
ButtonRightUp | The right button was released (button 2). |
None | No button has a state. |