csharp
public enum MouseButtonA mouse button, named by role rather than by side.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Primary is the button under the index finger — which is the physical left button for most people and the right one for a left-handed pointer configuration. The OS has already applied that swap by the time an event reaches us, so binding to Primary respects the user's setting and binding to "left" silently does not.
Fields and properties (6)
NoneNo button — a move, or a wheel event.
PrimaryThe main button: select, click, drag.
SecondaryThe context-menu button.
MiddleThe wheel pressed in.
Extra1The first thumb button, conventionally "back".
Extra2The second thumb button, conventionally "forward".
Used by (11)
- VirtualGeometryGameVirtualGeometry
- DesktopInputSourceVixen.Platform.Desktop
- HeadlessInputSourceVixen.Platform.Headless
- HeadlessLifecycleTestsVixen.Platform.Headless.Tests
- IInputSourceVixen.Platform
- InputKeyTestsVixen.Input.Tests
- PlatformEventVixen.Platform
- PlatformInputVixen.Platform.Ui
- SdlTranslationVixen.Platform.Desktop
- SdlTranslationTestsVixen.Platform.Desktop.Tests
- PlatformInputTestsVixen.App.Tests