Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release notes for accumulated mouse inputs #1828

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

alice-i-cecile
Copy link
Member

Part of #1724: this PR was missed by the automated tool.

```

Bevy now does this for you, exposed in the new [`AccumulatedMouseMotion`] and [`AccumulatedMouseScroll`] resources.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
```rust
fn any_system(
accumulated_mouse_motion: Res<AccumulatedMouseMotion>,
accumulated_mouse_scroll: Res<AccumulatedMouseScroll>,
) {
// accumulated_mouse_motion.delta and accumulated_mouse_scroll.delta
// available for use here
}
Feels like it needs an "after" example, because the "before" uses the `AccumulatedMouseMotion` name.

@alice-i-cecile alice-i-cecile added S-Ready-For-Final-Review Ready for a maintainer to consider for merging and removed S-Needs-Review labels Nov 21, 2024
@alice-i-cecile alice-i-cecile added this pull request to the merge queue Nov 21, 2024
Merged via the queue into bevyengine:main with commit fc35cb3 Nov 21, 2024
10 checks passed
@alice-i-cecile alice-i-cecile deleted the accumulated-input branch November 21, 2024 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Release-Notes C-Content S-Ready-For-Final-Review Ready for a maintainer to consider for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants