A small app to test the scan code values of keys for Bevy.
- Switch your keyboard layout to US QWERTY.
- Run the app via
cargo run
. - With the app window focused, press some keys. They will be logged in the console.
- Install
cargo-bavy
viacargo install cargo-bavy
. - Switch your keyboard layout to US QWERTY.
- Run the app via
cargo bavy run --wasm
. - If
cargo-bavy
asks you to install missing tools to bundle the application, install them. - Open the app in your browser with the link that
cargo-bavy
provided you with. - Open the developer console of your browser.
- Focus the app (the black rectangle) in the browser window.
- Press some keys. They will be logged in the browser console.
This project is licensed under MIT or Apache 2.0 at your choice.