Enum InputBridgeQueryMode
Controls how the IInputBridgeManager resolves input queries when more than one IScyllaInputBridge is registered.
Namespace: Scylla.Input
Assembly: ScyllaInput.dll
Syntax
public enum InputBridgeQueryMode
Remarks
The Scylla Input module supports registering multiple input bridges simultaneously - for example, one bridge that wraps the Unity Input System and a second bridge that wraps a custom or third-party input plugin. This enum determines which bridge (or bridges) are consulted when the game polls for device state.
The active mode is configured via QueryMode. In projects that use only a single bridge, SingleBridge (the default) is sufficient and incurs no extra overhead. More complex multi-bridge setups can use PriorityChain, PerInputType, or CombineAll as needed.
The conflict behavior when multiple bridges report values simultaneously is governed separately by InputConflictResolution; these two settings work together when the query mode involves more than one bridge.
Fields
| Name | Description |
|---|---|
| CombineAll | Query all registered bridges and aggregate their results into a single answer. |
| PerInputType | Route each input query to a bridge that has been explicitly configured to handle a specific InputDeviceType, allowing different device categories to be managed by different bridges simultaneously. |
| PriorityChain | Query bridges in descending priority order and return the result from the first bridge that reports a positive (non-zero or true) value for the queried input. |
| SingleBridge | Query only the single highest-priority bridge that is currently available, ignoring all other registered bridges. |