pub fn keyval_to_unicode(keyval: u32) -> Option<char>