Visual3D Game EngineAPI Documentation for XNA, C#, VB, and .NET
Assembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Enumerates the types of Input Events that can happen and be handled.
Namespace: Visual3D.InputAssembly: Visual3D.Engine (in Visual3D.Engine.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# | Visual Basic |
[FlagsAttribute] public enum InputEventTypes
<FlagsAttribute> _ Public Enumeration InputEventTypes
Members
| Member | Value | Description |
|---|---|---|
| None | 0 | No Event. |
| KeyboardKey | 1 | Includes all Keyboard key press events - whether normal, modifier, or special key. |
| ModifierToggled | 2 | Includes any event which toggles the Modifiers. |
| MouseButtonLeft | 4 | Left Mouse Button event |
| MouseButtonRight | 8 | Right Mouse Button event |
| MouseButtonMiddle | 16 | Middle Mouse Button event |
| MouseButtonX1 | 32 | X1 Mouse Button event |
| MouseButtonX2 | 64 | X2 Mouse Button event |
| MouseAnyButton | 124 | Mask for all Mouse Button events |
| AnyKeyEvent | 125 | Event is some form of Key/Button press event (whether keyboard or mouse button). |
| MouseMoveWheel | 128 | Mouse Wheel movement event (up or down). |
| MouseMoveXY | 256 | Mouse Moved event - XY motion. |
| MouseAnyMove | 384 | Mask for both Mouse Wheel and XY-Motion events. |
| MouseAnyEvent | 508 | Mask for all Mouse Events - includes button, wheel, or motions events. |
| GuiEvent | 512 | Gui System Handled a Direct Input Event - and translated into a SelectionID, and more. |
| GuiEventProgrammed | 1024 | Gui System Handled a Programmatic Event - and translated into a SelectionID, and more. |
| GuiAnyEvent | 1536 | Includes All Events that were handled by the Gui System. |
| AnyEvent | 2047 |