Skip to content

Commit

Permalink
Explain input scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
100-TomatoJuice committed Jan 6, 2024
1 parent 71c9ff6 commit 0e07ae7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/axislike.rs
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,9 @@ impl From<DualAxisData> 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)]
Expand Down

0 comments on commit 0e07ae7

Please sign in to comment.