OptionalactionsInitial unified action map.
OptionalcoordinateOptional conversion from raw DOM client coordinates to the space inputState.pointer.position should report.
Renderer-agnostic: wire to clientToLogical(...) from renderer2D when using screenScale, or to a renderer-specific helper.
When omitted, pointer coords remain raw clientX/clientY (not canvas-relative).
OptionalgamepadGamepad polling and deadzone configuration.
OptionalphaseExecution phase for the plugin's primary system
OptionalplayersInitial per-player action maps, keyed by player id.
OptionalpreventKeys whose browser default behaviour should be suppressed (e.g. ['Tab', ' ', 'ArrowDown']).
Ignored when shouldPreventDefault is provided.
OptionalpreventPointer button indices whose browser default behaviour should be suppressed (e.g. [0, 2]).
Ignored when shouldPreventDefault is provided.
OptionalpriorityPriority for the plugin's primary system (default varies per plugin)
OptionalshouldCustom predicate for full control over preventDefault. Receives the raw DOM event and returns
true to suppress its default behaviour. When provided, preventDefaultKeys and
preventDefaultPointerButtons are ignored.
OptionalsystemSystem group name for all systems registered by this plugin
OptionaltargetEventTarget to attach listeners to (default: globalThis). Pass a custom target for testability.
Common configuration options shared by most plugins. Plugin-specific options interfaces extend this with additional fields.