bevy/crates
Hennadii Chernyshchyk f32eed6db6
Gamepad improvements (#16222)
# Objective

Closes #16221.

## Solution

- Make `Gamepad` fields public and remove delegates / getters.
- Move `impl Into` to `Axis` methods (delegates for `Axis` used `impl
Into` to allow passing both `GamepadAxis` and `GamepadButton`).
- Improve docs.

## Testing

- I run tests.

Not sure if the migration guide is needed, since it's a feature from RC,
but I wrote it just in case.

---

## Migration Guide

- `Gamepad` fields are now public.
- Instead of using `Gamepad` delegates like `Gamepad::just_pressed`,
call these methods directly on the fields.

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2024-11-05 22:42:16 +01:00
..
bevy_a11y Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_animation Undeprecate is_playing_animation (#16121) 2024-11-05 22:27:28 +01:00
bevy_app Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_asset Update notify-debouncer-full requirement from 0.3.1 to 0.4.0 (#16133) 2024-11-05 22:28:18 +01:00
bevy_audio Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_color Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_core Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_core_pipeline Fix blending for CameraOutputMode::Skip (#16157) 2024-11-05 22:42:15 +01:00
bevy_derive Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_dev_tools Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_diagnostic Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_dylib Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_ecs Remove unused debug identifiers for ComponentHooks methods (#16228) 2024-11-05 22:42:15 +01:00
bevy_encase_derive Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_gilrs Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_gizmos Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_gltf Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_hierarchy Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_image Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_input Gamepad improvements (#16222) 2024-11-05 22:42:16 +01:00
bevy_internal Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_log Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_macro_utils Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_math Implement Measured2d for Arc2d-based primitives. (#16213) 2024-11-05 22:31:36 +01:00
bevy_mesh Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_mikktspace Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_pbr Fix WGSL formatting inconsistency on mesh_view_binding (#16202) 2024-11-05 22:42:15 +01:00
bevy_picking Add button_just_down and button_just_up methods to PointerInput (#16176) 2024-11-05 22:31:35 +01:00
bevy_ptr Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_reflect Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_remote Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_render Fix and improve MSAA documentation (#16196) 2024-11-05 22:31:35 +01:00
bevy_scene Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_sprite Improved UiImage and Sprite scaling and slicing APIs (#16088) 2024-11-05 22:42:12 +01:00
bevy_state Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_tasks Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_text Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_time Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_transform Improved the global transform api to access rotation and scale (#16211) 2024-11-05 22:42:15 +01:00
bevy_ui Improved UiImage and Sprite scaling and slicing APIs (#16088) 2024-11-05 22:42:12 +01:00
bevy_utils Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_window Release 0.15.0-rc.2 2024-10-27 21:53:37 +01:00
bevy_winit Correctly feature gate custom_cursor (#16093) 2024-11-05 22:31:36 +01:00