API

Type Alias InputMapEntry<TInteraction>

A single mapping rule: source + optional conditions → interaction type. The inputMap is an ordered array on the movement class; first matching entry wins. The interaction string should match a handler property name on the camera's movement subclass.

Discriminated union by source — only fields relevant to that source are available.

Type Parameters

  • TInteraction extends string = string