try fix trackpad mouse, too fast

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-05-21 08:24:44 -07:00
parent fd60d8d51f
commit 854745709e
2 changed files with 26 additions and 56 deletions

View File

@@ -137,7 +137,7 @@ pub fn is_virtual_display(name: &str) -> bool {
return true;
}
}
for (k, v) in lock.peer_index_name.iter() {
for (_, v) in lock.peer_index_name.iter() {
if windows::is_device_name(v, name) {
return true;
}