Table of Contents

Enum PointerButtons

Namespace
Xui.Core.UI.Input
Assembly
Core.dll

Defines the set of mouse or pointer buttons currently pressed, based on the W3C Pointer Events specification.

[Flags]
public enum PointerButtons : short

Fields

Eraser = 32

Pen eraser button.

Left = 1

Left mouse button, touch contact, or pen contact.

Middle = 4

Middle mouse button.

None = 0

No buttons are currently pressed.

Right = 2

Right mouse button or pen barrel button.

X1 = 8

X1 (back) mouse button.

X2 = 16

X2 (forward) mouse button.