bevy/crates/bevy_input/src
Sol Toder f7c8eb7d86 Correct docs for ButtonSettingsError to read 0.0..=1.0 (#6570)
# Objective

The [documentation for `ButtonSettingsError`](https://docs.rs/bevy/0.9.0/bevy/input/gamepad/enum.ButtonSettingsError.html) incorrectly describes the valid range of values as `0.0..=2.0`, probably because it was copied from `AxisSettingsError`. The actual range, as seen in the functions that return it and in its own `thiserror` description, is `0.0..=1.0`.

## Solution

Update the doc comments to reflect the correct range.


Co-authored-by: Sol Toder <ajaxgb@gmail.com>
2022-11-12 22:59:49 +00:00
..
axis.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00
gamepad.rs Correct docs for ButtonSettingsError to read 0.0..=1.0 (#6570) 2022-11-12 22:59:49 +00:00
input.rs Derive Reflect + FromReflect for input types (#6232) 2022-10-26 19:52:20 +00:00
keyboard.rs Fix doctest warnings (#6447) 2022-11-02 16:47:40 +00:00
lib.rs Revert "Show prelude re-exports in docs (#6448)" (#6449) 2022-11-02 20:40:45 +00:00
mouse.rs Derive Reflect + FromReflect for input types (#6232) 2022-10-26 19:52:20 +00:00
touch.rs Derive Reflect + FromReflect for input types (#6232) 2022-10-26 19:52:20 +00:00