mirror of
https://github.com/bevyengine/bevy
synced 2024-12-04 02:19:15 +00:00
d4e3fcdfbf
# Objective - Fixes a bug where `just_pressed` and `just_released` in `Input<GamepadButton>` might behave incorrectly due calling `clear` 3 times in a single frame through these three different systems: `gamepad_button_event_system`, `gamepad_axis_event_system` and `gamepad_connection_system` in any order ## Solution - Call `clear` only once and before all the above three systems, i.e. in `gamepad_event_system` ## Additional Info - Discussion in Discord: https://discord.com/channels/691052431525675048/768253008416342076/1064621963693273279 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |