1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*!
Input state backed by Rust-SDL2, `rokol::app` or your implementation

# Getting started

Create [`Input`] and manage the lifecycle. See [`vi`] module for virtual input.

TODO: mouse, gamepad, touch
*/

pub mod utils;
pub mod vi;

mod axis;
mod input;
mod platform;

pub use crate::{
    axis::*,
    input::{
        keyboard::{Key, Keyboard},
        Input,
    },
};