Expand description
Processors for dual-axis input values
Structs§
- Circle
Bounds - Specifies a circular region defining acceptable ranges for valid dual-axis inputs, with a radius defining the maximum threshold magnitude, restricting all values stay within intended limits to avoid unexpected behavior caused by extreme inputs.
- Circle
Dead Zone - A scaled version of
CircleExclusion
with the bounds set toCircleBounds::new(1.0)
that normalizes non-excluded input values into the “live zone”, the remaining range within the bounds after dead zone exclusion. - Circle
Exclusion - Specifies a cross-shaped region for excluding dual-axis inputs, with a radius defining the maximum excluded magnitude, helping filter out minor fluctuations and unintended movements.
- Dual
Axis Bounds - Specifies a square-shaped region defining acceptable ranges for valid dual-axis inputs, with independent min-max ranges for each axis, restricting all values stay within intended limits to avoid unexpected behavior caused by extreme inputs.
- Dual
Axis Dead Zone - A scaled version of
DualAxisExclusion
with the bounds set toDualAxisBounds::symmetric_all(1.0)
that normalizes non-excluded input values into the “live zone”, the remaining range within the bounds after dead zone exclusion. - Dual
Axis Exclusion - Specifies a cross-shaped region for excluding dual-axis inputs, with min-max independent min-max ranges for each axis, resulting in a per-axis “snapping” effect, helping filter out minor fluctuations to enhance control precision for pure axial motion.
- Dual
Axis Inverted - Flips the sign of dual-axis input values, resulting in a directional reversal of control.
- Dual
Axis Sensitivity - Scales dual-axis input values using a specified multiplier to fine-tune the responsiveness of control.
Enums§
- Dual
Axis Processor - A processor for dual-axis input values,
accepting a
Vec2
input and producing aVec2
output.
Traits§
- Custom
Dual Axis Processor - A trait for creating custom processor that handles dual-axis input values,
accepting a
Vec2
input and producing aVec2
output. - Register
Dual Axis Processor Ext - A trait for registering a specific
CustomDualAxisProcessor
. - With
Dual Axis Processing Pipeline Ext - Provides methods for configuring and manipulating the processing pipeline for dual-axis input.