use bevy::{ input::{ keyboard::KeyboardInput, mouse::{MouseButtonInput, MouseMotion, MouseWheel}, }, prelude::*, }; fn main() { App::new() .insert_resource(WindowDescriptor { width: 300., height: 300., ..Default::default() }) .add_plugins(DefaultPlugins) // One time greet .add_startup_system(hello_wasm_system) // Track ticks (sanity check, whether game loop is running) .add_system(counter) // Track input events .add_system(track_input_events) .run(); } fn hello_wasm_system() { info!("hello wasm"); } fn counter(mut state: Local, time: Res