API

Interface ArcRotatePointerMappings

Optional mappings for non-touch pointer buttons.

Each field falls back independently: the primary button rotates and the secondary button pans by default. Touch input is intentionally unaffected.

interface ArcRotatePointerMappings {
    primaryButton?: ArcRotatePointerAction;
    secondaryButton?: ArcRotatePointerAction;
}
Index
primaryButton?: ArcRotatePointerAction

Gesture for PointerEvent.button === 0. Default: "rotate".

secondaryButton?: ArcRotatePointerAction

Gesture for PointerEvent.button === 2. Default: "pan".