bevy/crates/bevy_input
SpecificProtagonist da25f1de3f
Document ButtonInput behavior regarding window focus (#12367)
# Objective

`ButtonInput<KeyCode>` documentation is currently incorrect/incomplete,
see #12273.

## Solution

Fix the documentation.

I think in the future we should also stop triggering
`just_pressed`/`just_released` when focus switches between two Bevy
windows, as those functions are independent of the window. It could also
make sense to add individual `ButtonInput<KeyCode>`s per window.

---------

Co-authored-by: Mateusz Wachowiak <mateusz_wachowiak@outlook.com>
2024-03-08 16:03:42 +00:00
..
src Document ButtonInput behavior regarding window focus (#12367) 2024-03-08 16:03:42 +00:00
Cargo.toml Bump Version after Release (#12020) 2024-02-21 20:58:59 +00:00