From f3d71024edd71d963201f560158107d65644d7cc Mon Sep 17 00:00:00 2001 From: fufesou Date: Sun, 18 Dec 2022 15:12:34 +0800 Subject: [PATCH] comment untested android key code Signed-off-by: fufesou --- src/server/input_service.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/server/input_service.rs b/src/server/input_service.rs index 7e56da064..6b678dbdc 100644 --- a/src/server/input_service.rs +++ b/src/server/input_service.rs @@ -691,9 +691,9 @@ fn sim_rdev_rawkey(code: u32, down_or_up: bool) { let rawkey = RawKey::ScanCode(code); #[cfg(target_os = "linux")] let rawkey = RawKey::LinuxXorgKeycode(code); - // to-do: test android - #[cfg(target_os = "android")] - let rawkey = RawKey::LinuxConsoleKeycode(code); + // // to-do: test android + // #[cfg(target_os = "android")] + // let rawkey = RawKey::LinuxConsoleKeycode(code); #[cfg(target_os = "macos")] let rawkey = RawKey::MacVirtualKeycode(code);