rustdesk
2022-06-07 00:30:37 +08:00
parent 897d5c8cc9
commit c0aa0d743a
3 changed files with 6 additions and 1 deletions

View File

@@ -379,7 +379,7 @@ impl Enigo {
let keycode_and_shiftstate = unsafe { VkKeyScanExW(chr as _, LAYOUT) };
if keycode_and_shiftstate == (EVK_DECIMAL as i16) && chr == '.' {
// a workaround of italian keyboard shift + '.' issue
unsafe { VkKeyScanW(chr as _) as _ }
EVK_PERIOD as _
} else {
keycode_and_shiftstate as _
}