public enum MouseControlA control on a mouse.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Buttons are named by role rather than by side — Primary is the button under the index finger, which the OS has already swapped for a left-handed pointer configuration by the time the event reaches us. The motion controls are deltas per frame, not positions: a camera bound to DeltaX must keep working in relative cursor mode, where the pointer has no position at all.
Fields and properties (12)
NoneNo control.
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".
DeltaXHorizontal motion this frame, in logical points. Positive is right.
DeltaYVertical motion this frame, in logical points. Positive is down.
ScrollXHorizontal scroll this frame, in wheel notches.
ScrollYVertical scroll this frame, in wheel notches. Positive is up.
PositionXThe pointer's horizontal position within the window, in logical points.
PositionYThe pointer's vertical position within the window, in logical points.
Used by (9)
- InputActionTestsVixen.Input.Tests
- InputControlVixen.Input
- InputControlPathVixen.Input
- InputControlPathTestsVixen.Input.Tests
- InputDeviceSetVixen.Input
- InputKeyTestsVixen.Input.Tests
- MouseDeviceVixen.Input
- PlatformInputVixen.App.Hosting
- PlatformInputTestsVixen.App.Tests