It's a crate for dynamic and contextual input mappings for Bevy, inspired by Unreal Engine Enhanced Input.
It's a small release. I'm quite happy with the API, just wanted to make a few adjustments.
Here are some highlights:
- Replace
SmoothDelta
modifier with SmoothNudge
. It uses StableInterpolate::smooth_nudge
, which properly interpolates inputs across frames.
- Remove
InputContext::MODE
. All contexts now work like InputContext::Exclusive
(the default). If you want to share the same input across multiple entities, use a separate "controller" entity for a context and apply inputs to the desired entities. This approach is more efficient and explicit, so it's not worth having a special case in the crate for it.
See the changelog for more details.
๐Full changelog
๐ฆbevy_enhanced_input