pub fn get_scan_code(key: &str) -> Result<u32, KeyError>
Expand description
Rudimentary helper function to get the scan code for a key. This will hopefully be rendered obsolete in Bevy 0.13 with this PR.
use action_maps::get_scan_code;
let qwerty_w_scan_code = get_scan_code("W");