From 0e07ae7d7c7880474c5a0972cfbf4ee039c96762 Mon Sep 17 00:00:00 2001 From: Tomato <67799071+100-TomatoJuice@users.noreply.github.com> Date: Sat, 6 Jan 2024 12:52:55 -0700 Subject: [PATCH] Explain input scaling --- src/axislike.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/axislike.rs b/src/axislike.rs index d40399d5..42637391 100644 --- a/src/axislike.rs +++ b/src/axislike.rs @@ -742,6 +742,9 @@ impl From for Vec2 { /// /// Input values that are on the boundary of the shape are counted as inside. /// If a size of a shape is 0.0, then all input values are read, except for 0.0. +/// +/// All inputs are scaled to be continuous. +/// So with a ellipse deadzone of a radius of 0.1, the input range `0.1..=1.0` will be scaled to `0.0..=1.0`. /// /// Deadzone values should be in the range `0.0..=1.0`. #[derive(Debug, Clone, Copy, Serialize, Deserialize, PartialEq, Reflect)]