mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-13 06:42:18 +00:00
feat: support track pad scroll on flutter
This commit is contained in:
1 parent
edfb22d9c2
commit
13fd55557b
5 files changed
+71
-4
No files matched your search
@@ -156,6 +156,7 @@ pub fn session_reconnect(id: String) {
|
||||
|
||||
pub fn session_toggle_option(id: String, value: String) {
|
||||
if let Some(session) = SESSIONS.write().unwrap().get_mut(&id) {
|
||||
log::warn!("toggle option {}", value);
|
||||
session.toggle_option(value);
|
||||
}
|
||||
}
|
||||
@@ -907,6 +908,7 @@ pub fn session_send_mouse(id: String, msg: String) {
|
||||
"down" => 1,
|
||||
"up" => 2,
|
||||
"wheel" => 3,
|
||||
"trackpad" => 4,
|
||||
_ => 0,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user