stickup 0.1.6

A modular input device abstraction layer with HID and virtual device support.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// A discrete input event from a device (polled or injected).
#[derive(Debug, Clone)]
pub enum InputEvent {
    /// Axis moved to a new position.
    AxisMoved { axis: u8, value: f32 },

    /// Button was pressed.
    ButtonPressed { button: u8 },

    /// Button was released.
    ButtonReleased { button: u8 },
}