mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
simulate scancode for translate mode
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -10,7 +10,6 @@ use crate::{
|
||||
};
|
||||
use flutter_rust_bridge::{StreamSink, SyncReturn};
|
||||
use hbb_common::{
|
||||
allow_err,
|
||||
config::{self, LocalConfig, PeerConfig, PeerInfoSerde, ONLINE},
|
||||
fs, log,
|
||||
message_proto::KeyboardMode,
|
||||
@@ -1396,10 +1395,10 @@ pub fn send_url_scheme(_url: String) {
|
||||
|
||||
#[inline]
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
pub fn plugin_event(id: String, event: Vec<u8>) {
|
||||
pub fn plugin_event(_id: String, _event: Vec<u8>) {
|
||||
#[cfg(feature = "plugin_framework")]
|
||||
{
|
||||
allow_err!(crate::plugin::handle_ui_event(&id, &event));
|
||||
allow_err!(crate::plugin::handle_ui_event(&_id, &_event));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user