mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-06-22 10:02:20 +00:00
fix comments grammar
Signed-off-by: fufesou <linlong1266@gmail.com>
This commit is contained in:
parent
bfdb8e8bab
commit
5eed73d064
1 changed files with 4 additions and 4 deletions
|
|
@ -19,10 +19,10 @@ static mut LAYOUT: HKL = std::ptr::null_mut();
|
|||
|
||||
/// The dwExtraInfo value in keyboard and mouse structure that used in SendInput()
|
||||
pub const ENIGO_INPUT_EXTRA_VALUE: ULONG_PTR = 100;
|
||||
// Empirical testing against Notepad showed corrupted input with 0ms, 5ms and 10ms
|
||||
// delays, while 15ms, and 20ms behaved correctly. Use 20ms as a conservative
|
||||
// default to avoid regressions while keeping latency low; revisit this
|
||||
// if further testing shows smaller values are reliable.
|
||||
// Empirical testing against Notepad showed corrupted input with 0ms, 5ms, and 10ms
|
||||
// delays, while 15ms and 20ms behaved correctly. Use 20ms as a conservative
|
||||
// default to avoid regressions while keeping latency low; revisit this if further
|
||||
// testing shows smaller values are reliable.
|
||||
const UNICODE_KEY_SEQUENCE_DELAY: Duration = Duration::from_millis(20);
|
||||
|
||||
fn mouse_event(flags: u32, data: u32, dx: i32, dy: i32) -> DWORD {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue