fix key name not working in release build

This commit is contained in:
LordMZTE 2020-08-25 16:46:47 +02:00
parent e2eee30b3e
commit 9fcc843f5c

View file

@ -4,6 +4,7 @@ use wio::wide::FromWide;
pub mod logger;
#[no_mangle]
pub fn scan_code_to_key_name(scan_code: u32) -> String {
unsafe {
let mut out = [0u16; 128];