leafwing_input_manager::input_processing

Module dual_axis

source
Expand description

Processors for dual-axis input values

Structs§

  • 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.
  • A scaled version of CircleExclusion with the bounds set to CircleBounds::new(1.0) that normalizes non-excluded input values into the “live zone”, the remaining range within the bounds after dead zone 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.
  • 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.
  • A scaled version of DualAxisExclusion with the bounds set to DualAxisBounds::symmetric_all(1.0) that normalizes non-excluded input values into the “live zone”, the remaining range within the bounds after dead zone 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.
  • Flips the sign of dual-axis input values, resulting in a directional reversal of control.
  • Scales dual-axis input values using a specified multiplier to fine-tune the responsiveness of control.

Enums§

Traits§