feat: Added input system

- Added input plugin to manage controls config
- Added tests for casting InputMap to InputAsset and backwards
This commit is contained in:
Alexey 2026-03-03 09:26:52 +03:00
commit ae7bfd7c27
5 changed files with 471 additions and 3 deletions

View file

@ -7,6 +7,11 @@ edition = "2024"
[dependencies]
bevy = { version = "0.18.0" }
bevy_common_assets = { version = "0.15.0", features = ["toml"] }
bevy_input = { version = "0.18.0", features = ["serde", "serialize"] }
leafwing-input-manager = "0.20.0"
serde = { version = "1.0.228", features = ["derive"] }
toml = "1.0.3"
[profile.dev]
opt-level = 1