API

Type Alias WheelInputMapEntry<TInteraction>

WheelInputMapEntry: {
    interaction: TInteraction;
    sensitivity?: number;
    source: "wheel";
} & WheelConditions

Mapping rule for mouse wheel 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.

  • source: "wheel"