pub fn str_to_oscode(s: &str) -> Option<OsCode>Expand description
Convert a &str to an OsCode.
kmonad’s str to key mapping is found here as a reference: https://github.com/kmonad/kmonad/blob/master/src/KMonad/Keyboard/Keycode.hs
Do your best to keep the str side a maximum character length of 4 so that configuration file can stay clean.