comment untested android key code

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2022-12-18 15:12:34 +08:00
parent 98d0335607
commit f3d71024ed

View File

@ -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);