wasm-game-lib 0.3.2

A simple and fast game library for Wasm.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Debug)]
/// A joystick event.
/// Joysticks are not supported for now
pub enum JoystickEvent {
    /// A joystick has been connected
    JoystickConnected(),
    /// A joystick has been disconnected
    JoystickDisonnected(),
    /// A joystick moved
    JoystickMove(),
    /// A button has been pressed
    JoystickButton()
}