comment untested android key code
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
98d0335607
commit
f3d71024ed
@ -691,9 +691,9 @@ fn sim_rdev_rawkey(code: u32, down_or_up: bool) {
|
|||||||
let rawkey = RawKey::ScanCode(code);
|
let rawkey = RawKey::ScanCode(code);
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
let rawkey = RawKey::LinuxXorgKeycode(code);
|
let rawkey = RawKey::LinuxXorgKeycode(code);
|
||||||
// to-do: test android
|
// // to-do: test android
|
||||||
#[cfg(target_os = "android")]
|
// #[cfg(target_os = "android")]
|
||||||
let rawkey = RawKey::LinuxConsoleKeycode(code);
|
// let rawkey = RawKey::LinuxConsoleKeycode(code);
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
let rawkey = RawKey::MacVirtualKeycode(code);
|
let rawkey = RawKey::MacVirtualKeycode(code);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user