API

Type Alias PointerInputMapEntry<TInteraction>

PointerInputMapEntry: {
    interaction: TInteraction;
    sensitivity?: number;
    sensitivityX?: number;
    sensitivityY?: number;
    source: "pointer";
} & PointerConditions

Mapping rule for pointer (mouse button) inputs.

Type Parameters

  • TInteraction extends string = string

Type Declaration

  • interaction: TInteraction
  • Optionalsensitivity?: number

    Multiplier applied to input deltas before passing to the handler. Default is 1.

  • OptionalsensitivityX?: number

    Optional per-axis override for the X (horizontal / yaw) component. Falls back to sensitivity if unset.

  • OptionalsensitivityY?: number

    Optional per-axis override for the Y (vertical / pitch) component. Falls back to sensitivity if unset.

  • source: "pointer"