Crates.io | magma_input |
lib.rs | magma_input |
version | 0.1.0-alpha.2 |
created_at | 2025-07-21 17:18:25.911534+00 |
updated_at | 2025-08-21 18:40:57.729741+00 |
description | Part of the Magma-API, which is the API of the Magma3D game engine. This is responsable for handling user input. |
homepage | https://dynamicgoose.github.io/magma3d-engine/ |
repository | https://codeberg.com/DynamicGoose/magma-api |
max_upload_size | |
id | 1762281 |
size | 32,965 |
This crate handles user input for the Magma3D engine.
This crate should be used together with the rest of the magma_api.
Add this to your Cargo.toml
:
[dependencies]
magma_input = "0.1.0-alpha.2"
use magma_api::App;
use magma_api::magma_input::InputModule;
fn main() {
let mut app = App::new();
// Add the input module
app.add_module(InputModule);
// run the app
app.run();
}
Note that the InputModule
alone only provides the interface for input management. The backend is implemented in magma_winit.
currently no features
This crate is not production ready.