wasm_game_lib/inputs/
joystick.rs

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