mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-08 12:21:30 +03:00
@@ -1089,9 +1089,9 @@ fn translate_process_virtual_keycode(vk: u32, down: bool) {
|
|||||||
|
|
||||||
fn translate_keyboard_mode(evt: &KeyEvent) {
|
fn translate_keyboard_mode(evt: &KeyEvent) {
|
||||||
match evt.union {
|
match evt.union {
|
||||||
Some(key_event::Union::Unicode(unicode)) => {
|
Some(key_event::Union::Unicode(_unicode)) => {
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
allow_err!(rdev::simulate_unicode(unicode as _));
|
allow_err!(rdev::simulate_unicode(_unicode as _));
|
||||||
}
|
}
|
||||||
Some(key_event::Union::Chr(..)) =>
|
Some(key_event::Union::Chr(..)) =>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user