bevy/crates/bevy_input
Benjamin Brienen 43db44ca3a
Scale input to account for deadzones (#17015)
# Objective

Fixes #3450 

## Solution

Scale the input to account for the range

## Testing

Updated unit tests

## Migration Guide

`GamepadButtonChangedEvent.value` is now linearly rescaled to be from
`0.0..=1.0` (instead of `low..=high`) and
`GamepadAxisChangedEvent.value` is now linearly rescaled to be from
`-1.0..=0.0`/`0.0..=1.0` (accounting for the deadzone).
2025-01-03 22:27:59 +00:00
..
src Scale input to account for deadzones (#17015) 2025-01-03 22:27:59 +00:00
Cargo.toml Add no_std support to bevy_input (#16995) 2024-12-29 22:46:30 +00:00
README.md Add README.md to all crates (#13184) 2024-05-02 18:56:00 +00:00

Bevy Input

License Crates.io Downloads Docs Discord