bevy/crates/bevy_winit/src
Alice Cecile fa6cabd432
Replace bevy_a11y::Focus with InputFocus (#16863)
# Objective

Bevy now has first-class input focus handling! We should use this for
accessibility purpose via accesskit too.

## Solution

- Removed bevy_a11y::Focus.
- Replaced all usages of Focus with InputFocus
- Changed the dependency tree so bevy_a11y relies on bevy_input_focus
- Moved initialization of the focus (starts with the primary window)
from bevy_window to bevy_input_focus to avoid circular dependencies (and
it's cleaner)

## Testing

TODO

## Migration Guide

`bevy_a11y::Focus` has been replaced with `bevy_input_focus::Focus`.
2024-12-18 00:16:19 +00:00
..
accessibility.rs Replace bevy_a11y::Focus with InputFocus (#16863) 2024-12-18 00:16:19 +00:00
converters.rs Expose text field from winit in KeyboardInput (#16864) 2024-12-17 22:42:54 +00:00
cursor.rs Rename trigger.entity() to trigger.target() (#16716) 2024-12-08 21:55:09 +00:00
lib.rs bevy_winit(emit raw winit events) (#15884) 2024-12-03 17:20:43 +00:00
state.rs bevy_winit(emit raw winit events) (#15884) 2024-12-03 17:20:43 +00:00
system.rs Reduce iOS cpu usage (#16548) 2024-11-29 00:34:40 +00:00
winit_config.rs Reduce iOS cpu usage (#16548) 2024-11-29 00:34:40 +00:00
winit_monitors.rs Simpler lint fixes: makes ci lints work but disables a lint for now (#15376) 2024-09-24 11:42:59 +00:00
winit_windows.rs Handle failed cursor grab mode changes so that the cursor grab mode change can be attempted again (#16293) 2024-11-09 23:30:57 +00:00