magma_input 0.1.0-alpha

Part of the Magma-API, which is the API of the Magma3D game engine. This is responsable for handling user input.
Documentation
1
2
3
4
5
6
7
/// Describes the state of a key or button
pub enum ButtonState {
    /// The key/button is currently pressed.
    Pressed,
    /// The key/button was released.
    Released,
}