You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
The mouse wheel's per-frame delta is a Vec2, so it maps directly onto axis actions alongside gamepad sticks. hardware_to_actions now reads AccumulatedMouseScroll in the Axis branch (max-magnitude combine); the digital branch ignores it, and Scalar is unchanged. Since an axis is refreshed every frame and the scroll delta is zero when idle, on_action fires exactly while the wheel turns and the piped value is the delta — no persistence or edge-guarding needed. Enables e.g. `.bind(Action::Zoom, [Binding::Scroll])`. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
6 days ago | |
|---|---|---|
| .. | ||
| macros | 6 days ago | |
| src | 6 days ago | |
| Cargo.lock | 1 week ago | |
| Cargo.toml | 1 week ago | |