fix key name not working in release build
This commit is contained in:
parent
e2eee30b3e
commit
9fcc843f5c
1 changed files with 1 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue