bevy/crates
Hennadii Chernyshchyk 43ac183c89
Use Name component for gamepad (#16233)
Addressing a suggestion I made in Discord: store gamepad name as a
`Name` component.
Advantages:
- Will be nicely displayed in inspector / editor.
- Easier to spawn in tests, just `world.spawn(Gamepad::default())`.

`Gamepad` component now stores only vendor and product IDs and `Name`
stores the gamepad name.
Since `GamepadInfo` is no longer necessary, I removed it and merged its
fields into the connection event.

- Run unit tests.

---

- `GamepadInfo` no longer exists:
  -  Name now accesible via `Name` component.
  -  Other information available on `Gamepad` component directly.
  - `GamepadConnection::Connected` now stores all info fields directly.
2024-11-05 22:45:42 +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 Support creating asset directories (#16220) 2024-11-05 22:42:16 +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 Use Name component for gamepad (#16233) 2024-11-05 22:45:42 +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 Use Name component for gamepad (#16233) 2024-11-05 22:45:42 +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 Expose picking pointer state as a resource (#16229) 2024-11-05 22:42:16 +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