Registry / other / leafwing-input-manager

leafwing-input-manager

JSON →
library0.20.0rscratesunverified

A powerful, flexible and ergonomic way to manage action-input keybindings for the Bevy game engine.

# Cargo.toml [dependencies] leafwing-input-manager = "0.20.0"
INSTALL
IMPORT
SIG · LEAFWING-INPUT-MAN
L
leafwing-input-manager
otherrustv0.20.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

InputManager
use leafwing_input_manager::InputManager;

Creates a default InputManager for Bevy.

use leafwing_input_manager::InputManager; fn main() { let manager = InputManager::default(); println!("Input manager created"); }
Debug
Known issues
gotchaRequires the Bevy game engine as a dependency.
fix
Add bevy to your Cargo.toml dependencies.
affects: >=0.20.0
Upgrade
Version history
0.20.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
leafwing-input-manager — cargo add leafwing-input-manager · libregistry