$ account simgine
This repository is the `bevy_enhanced_input` library, a fully‑featured, observer‑based input management system for the Bevy game engine, inspired by Unreal Engine's Enhanced Input. It provides a component‑driven ECS architecture where actions, bindings, input conditions, and modifiers are all first‑class Bevy components or relationships. The system supports context layering (priorities, activity states), state synchronization, mocking for tests/cutscenes, and a built‑in preset system for common input patterns (e.g., WASD, gamepad sticks). At its core, the library defines the `InputAction` derive macro, the `InputCondition` and `InputModifier` traits, and an evaluation pipeline that runs during `PreUpdate`. Input reading is handled via a dedicated `InputReader` system parameter that also manages input consumption and ignoring. The library is `no_std` compatible and supports reflection and serialization via feature flags. The code is well‑structured with heavy use of Bevy's observer and relationship APIs, and includes extensive integration tests and a comprehensive set of examples ranging from basic action management to rebindable keybinding menus with persistence.