mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-12-04 15:46:07 +00:00
fix(windows): forward Unicode Auto-Type input (#16481)
* fix(windows): forward Unicode Auto-Type input Decode VK_PACKET text before physical-key mapping, preserve surrogate pairs, and route it to the focused session through the existing text-input message. Track Windows focus for Input Source 2 and document its mixed-event ordering limitation. Signed-off-by: fufesou <linlong1266@gmail.com> * fix(unix): forward KeePassXC Auto-Type text Decode native macOS and Linux text events before physical-key processing, preserve UTF-16 surrogate pairs across key releases, and route text to the focused writable session. Select the existing Input Source 1 path from the actual GTK display backend so XWayland works on Wayland desktops. Native Wayland remains on Input Source 2. Signed-off-by: fufesou <linlong1266@gmail.com> * refact: simple refactor Signed-off-by: fufesou <linlong1266@gmail.com> * test(windows): cover Unicode packet text decoding Verify BMP characters and consecutive surrogate pairs produce the expected text through the Windows packet decoder. Signed-off-by: fufesou <linlong1266@gmail.com> * feat(windows): make Unicode input opt-in from general settings Keep legacy input as the default and apply the saved Windows option at startup and when changed. Add the setting under General > Other and remove the branch's Linux and macOS Unicode input handling. Signed-off-by: fufesou <linlong1266@gmail.com> * refactor(windows): simplify Unicode packet forwarding Preserve input-source gating and callback results while reducing the branch diff. Signed-off-by: fufesou <linlong1266@gmail.com> * fix(keyboard): unicode input, translations Signed-off-by: fufesou <linlong1266@gmail.com> * Route Windows Unicode packets to the current session Check permissions on the same session that receives packet text and physical keys. Preserve valid text after an unpaired high surrogate and run the decoder tests on all platforms. Signed-off-by: fufesou <linlong1266@gmail.com> * Pin rdev to the merged Unicode packet change The lockfile bump to rustdesk-org/rdev#27 was made while resolving a merge commit, which the rebase onto master dropped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JAxkkkfvhEPKVg85ZHovfs --------- Signed-off-by: fufesou <linlong1266@gmail.com> Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
62 files changed
+275
-1
No files matched your search
Generated
+1
-1
@@ -6748,7 +6748,7 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "rdev"
|
||||
version = "0.5.0-2"
|
||||
source = "git+https://github.com/rustdesk-org/rdev#0904f23ce496e255461a98848b85c11fa5a62eab"
|
||||
source = "git+https://github.com/rustdesk-org/rdev#bfb285414f04be94a98063e645c334a9966758ea"
|
||||
dependencies = [
|
||||
"cocoa 0.24.1",
|
||||
"core-foundation 0.9.4",
|
||||
|
||||
@@ -90,6 +90,7 @@ const String kOptionImageQuality = "image_quality";
|
||||
const String kOptionOpenNewConnInTabs = "enable-open-new-connections-in-tabs";
|
||||
const String kOptionTextureRender = "use-texture-render";
|
||||
const String kOptionD3DRender = "allow-d3d-render";
|
||||
const String kOptionAllowUnicodeInput = "allow-unicode-input";
|
||||
const String kOptionOpenInTabs = "allow-open-in-tabs";
|
||||
const String kOptionOpenInWindows = "allow-open-in-windows";
|
||||
const String kOptionForceAlwaysRelay = "force-always-relay";
|
||||
|
||||
@@ -527,6 +527,14 @@ class _GeneralState extends State<_General> {
|
||||
final showAutoUpdate = (isWindows && bind.mainIsInstalled()) ||
|
||||
(isMacOS && bind.mainIsInstalled() && bind.mainIsInstalledDaemon(prompt: false) && !bind.isCustomClient());
|
||||
final children = <Widget>[
|
||||
if (!isWeb && isWindows && !incomingOnly)
|
||||
_OptionCheckBox(
|
||||
context,
|
||||
'Enable Unicode input',
|
||||
kOptionAllowUnicodeInput,
|
||||
isServer: false,
|
||||
trailing: const InfoTooltipIcon(tipKey: 'unicode-input-tip'),
|
||||
),
|
||||
if (!isWeb && !incomingOnly)
|
||||
_OptionCheckBox(context, 'Confirm before closing multiple tabs',
|
||||
kOptionEnableConfirmClosingTabs,
|
||||
|
||||
@@ -164,6 +164,7 @@ pub const OPTION_FLUTTER_CURRENT_AB_NAME: &str = "current-ab-name";
|
||||
pub const OPTION_ALLOW_REMOTE_CM_MODIFICATION: &str = "allow-remote-cm-modification";
|
||||
pub const OPTION_ALLOW_SYNC_CLIPBOARD_BETWEEN_SESSIONS: &str =
|
||||
"allow-sync-clipboard-between-sessions";
|
||||
pub const OPTION_ALLOW_UNICODE_INPUT: &str = "allow-unicode-input";
|
||||
|
||||
pub const OPTION_PRINTER_INCOMING_JOB_ACTION: &str = "printer-incomming-job-action";
|
||||
pub const OPTION_PRINTER_ALLOW_AUTO_PRINT: &str = "allow-printer-auto-print";
|
||||
|
||||
+111
@@ -100,6 +100,8 @@ pub mod client {
|
||||
#[derive(Default)]
|
||||
struct GrabOwnerState {
|
||||
owner: Option<u128>,
|
||||
#[cfg(windows)]
|
||||
unicode_packet: UnicodePacket,
|
||||
last_grab: Option<std::time::Instant>,
|
||||
/// True while a deferred-release thread is in flight. Prevents
|
||||
/// spawning redundant threads during the X11 feedback loop.
|
||||
@@ -206,6 +208,10 @@ pub mod client {
|
||||
#[cfg(target_os = "linux")]
|
||||
let had_owner = gs.owner.is_some();
|
||||
gs.owner = Some(session_id);
|
||||
#[cfg(windows)]
|
||||
{
|
||||
gs.unicode_packet = Default::default();
|
||||
}
|
||||
gs.last_grab = Some(std::time::Instant::now());
|
||||
// Invalidate any in-flight deferred release from the previous
|
||||
// owner so it cannot suppress a fresh timer for the new owner.
|
||||
@@ -296,6 +302,10 @@ pub mod client {
|
||||
KEYBOARD_HOOKED.store(false, Ordering::SeqCst);
|
||||
|
||||
gs.owner = None;
|
||||
#[cfg(windows)]
|
||||
{
|
||||
gs.unicode_packet = Default::default();
|
||||
}
|
||||
gs.last_grab = None;
|
||||
gs.deferred_pending = false;
|
||||
release_after_unlock = Some(take_remote_keys());
|
||||
@@ -321,6 +331,22 @@ pub mod client {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
pub(crate) fn set_unicode_input_enabled(enabled: bool) {
|
||||
let mut gs = GRAB_STATE.lock().unwrap();
|
||||
gs.unicode_packet = Default::default();
|
||||
rdev::set_unicode_packet_enabled(enabled);
|
||||
}
|
||||
|
||||
#[cfg(windows)]
|
||||
pub(super) fn handle_unicode_packet(event: &Event) -> bool {
|
||||
let mut gs = GRAB_STATE.lock().unwrap();
|
||||
if gs.owner.is_none() {
|
||||
return false;
|
||||
}
|
||||
crate::platform::windows::keyboard::handle_unicode_packet(event, &mut gs.unicode_packet)
|
||||
}
|
||||
|
||||
pub fn process_event(keyboard_mode: &str, event: &Event, lock_modes: Option<i32>) {
|
||||
// Shortcut intercept — must come before any wire encoding.
|
||||
// A press that fires a shortcut is consumed, and so are its auto repeats
|
||||
@@ -664,10 +690,25 @@ fn should_block_relative_mouse_shortcut(key: Key, is_press: bool) -> bool {
|
||||
}
|
||||
|
||||
fn start_grab_loop() {
|
||||
#[cfg(windows)]
|
||||
client::set_unicode_input_enabled(
|
||||
crate::get_local_option(base::config::keys::OPTION_ALLOW_UNICODE_INPUT) == "Y",
|
||||
);
|
||||
std::env::set_var("KEYBOARD_ONLY", "y");
|
||||
#[cfg(any(target_os = "windows", target_os = "macos"))]
|
||||
std::thread::spawn(move || {
|
||||
let try_handle_keyboard = move |event: Event, key: Key, is_press: bool| -> Option<Event> {
|
||||
#[cfg(windows)]
|
||||
if crate::platform::windows::keyboard::is_unicode_packet(&event) {
|
||||
// Source 2 sends physical keys asynchronously through Flutter.
|
||||
// Use Source 1 to preserve packet text ordering with Tab/Enter.
|
||||
#[cfg(feature = "flutter")]
|
||||
if !IS_RDEV_ENABLED.load(Ordering::SeqCst) {
|
||||
return Some(event);
|
||||
}
|
||||
return (!client::handle_unicode_packet(&event)).then_some(event);
|
||||
}
|
||||
|
||||
// fix #2211:CAPS LOCK don't work
|
||||
if key == Key::CapsLock || key == Key::NumLock {
|
||||
return Some(event);
|
||||
@@ -1697,3 +1738,73 @@ pub mod input_source {
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(windows, test))]
|
||||
#[derive(Default)]
|
||||
pub(crate) struct UnicodePacket {
|
||||
high_surrogate: Option<u16>,
|
||||
}
|
||||
|
||||
#[cfg(any(windows, test))]
|
||||
impl UnicodePacket {
|
||||
pub(crate) fn decode(&mut self, code: u32) -> Result<Option<KeyEvent>, &'static str> {
|
||||
const HIGH_SURROGATES: std::ops::RangeInclusive<u16> = 0xD800..=0xDBFF;
|
||||
const LOW_SURROGATES: std::ops::RangeInclusive<u16> = 0xDC00..=0xDFFF;
|
||||
const ERROR_LOG_INTERVAL: std::time::Duration = std::time::Duration::from_secs(1);
|
||||
|
||||
let previous = self.high_surrogate.take();
|
||||
let code = u16::try_from(code).map_err(|_| "Invalid Unicode keyboard packet")?;
|
||||
if HIGH_SURROGATES.contains(&code) {
|
||||
self.high_surrogate = Some(code);
|
||||
return if previous.is_some() {
|
||||
Err("Unpaired Unicode keyboard surrogate")
|
||||
} else {
|
||||
Ok(None)
|
||||
};
|
||||
}
|
||||
|
||||
let units = match previous {
|
||||
Some(high) if LOW_SURROGATES.contains(&code) => vec![high, code],
|
||||
Some(_) => {
|
||||
hbb_common::throttled_log!(
|
||||
ERROR_LOG_INTERVAL,
|
||||
warn,
|
||||
"Unpaired Unicode keyboard surrogate"
|
||||
);
|
||||
vec![code]
|
||||
}
|
||||
None => vec![code],
|
||||
};
|
||||
let text = String::from_utf16(&units).map_err(|_| "Invalid Unicode keyboard sequence")?;
|
||||
let mut event = KeyEvent::new();
|
||||
// Legacy text input already injects Unicode on the peer, including the sign-in screen.
|
||||
event.set_seq(text);
|
||||
Ok(Some(event))
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::UnicodePacket;
|
||||
|
||||
#[test]
|
||||
fn unicode_packets_preserve_bmp_and_surrogate_pairs() {
|
||||
let expected = "a8*6 café Ω Ж 日本語 😀🦀END";
|
||||
let mut decoder = UnicodePacket::default();
|
||||
let mut received = String::new();
|
||||
for unit in expected.encode_utf16() {
|
||||
if let Some(event) = decoder.decode(u32::from(unit)).unwrap() {
|
||||
received.push_str(event.seq());
|
||||
}
|
||||
}
|
||||
assert_eq!(received, expected);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn unicode_packets_keep_text_after_unpaired_high_surrogate() {
|
||||
let mut decoder = UnicodePacket::default();
|
||||
assert!(decoder.decode(0xD83D).unwrap().is_none());
|
||||
assert_eq!(decoder.decode(u32::from(b'A')).unwrap().unwrap().seq(), "A");
|
||||
assert_eq!(decoder.decode(u32::from(b'B')).unwrap().unwrap().seq(), "B");
|
||||
}
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "للوصول غير المراقب على Wayland، جرّب التقاط الشاشة عبر DRM، أو استخدم X11 إذا لم يعمل."),
|
||||
("login-wayland-drm-tip", "للوصول إلى شاشة تسجيل الدخول في Wayland، جرّب التقاط الشاشة عبر DRM أو حوّلها إلى X11."),
|
||||
("Keyboard mode", "وضع لوحة المفاتيح"),
|
||||
("Enable Unicode input", "تفعيل إدخال Unicode"),
|
||||
("unicode-input-tip", "التقاط نص Unicode الذي ترسله أدوات مثل KeePassXC Auto-Type. يتطلب استخدام مصدر الإدخال 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Wayland-da nəzarətsiz giriş üçün DRM ekran çəkilişini sınayın, işləməzsə X11 işlədin."),
|
||||
("login-wayland-drm-tip", "Wayland giriş ekranına daxil olmaq üçün DRM ekran çəkilişini sınayın və ya onu X11-ə keçirin."),
|
||||
("Keyboard mode", "Klaviatura rejimi"),
|
||||
("Enable Unicode input", "Unicode girişini aktivləşdir"),
|
||||
("unicode-input-tip", "KeePassXC Auto-Type kimi alətlərin göndərdiyi Unicode mətnini tutun. Giriş mənbəyi 1 tələb olunur."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Для аўтаматычнага доступу ў Wayland паспрабуйце захоп экрана праз DRM, а калі не працуе — X11."),
|
||||
("login-wayland-drm-tip", "Для доступу да экрана ўваходу Wayland паспрабуйце захоп экрана праз DRM або пераключыце яго на X11."),
|
||||
("Keyboard mode", "Рэжым клавіятуры"),
|
||||
("Enable Unicode input", "Уключыць увод Unicode"),
|
||||
("unicode-input-tip", "Захопліваць тэкст Unicode, які дасылаюць інструменты накшталт KeePassXC Auto-Type. Патрабуецца крыніца ўводу 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "За безконтролен достъп в Wayland опитайте заснемане чрез DRM или използвайте X11, ако не работи."),
|
||||
("login-wayland-drm-tip", "За достъп до екрана за влизане с Wayland опитайте заснемане чрез DRM или го превключете на X11."),
|
||||
("Keyboard mode", "Режим на клавиатурата"),
|
||||
("Enable Unicode input", "Разрешаване на въвеждане на Unicode"),
|
||||
("unicode-input-tip", "Прихващане на Unicode текст, изпратен от инструменти като KeePassXC Auto-Type. Изисква източник на въвеждане 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Per a l'accés desatès a Wayland, proveu la captura de pantalla DRM, o useu X11 si no funciona."),
|
||||
("login-wayland-drm-tip", "Per accedir a la pantalla d'inici de sessió de Wayland, proveu la captura DRM o canvieu-la a X11."),
|
||||
("Keyboard mode", "Mode de teclat"),
|
||||
("Enable Unicode input", "Habilita l'entrada Unicode"),
|
||||
("unicode-input-tip", "Captura el text Unicode enviat per eines com ara KeePassXC Auto-Type. Requereix la font d'entrada 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "如需在 Wayland 上无人值守访问,请尝试 DRM 捕获屏幕;如果不起作用,请使用 X11。"),
|
||||
("login-wayland-drm-tip", "如需访问 Wayland 登录界面,请尝试 DRM 捕获屏幕,或将其切换到 X11。"),
|
||||
("Keyboard mode", "键盘模式"),
|
||||
("Enable Unicode input", "启用 Unicode 输入"),
|
||||
("unicode-input-tip", "捕获 KeePassXC 自动输入等工具发送的 Unicode 文本。需要使用输入源 1。"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Pro bezobslužný přístup ve Waylandu zkuste snímání obrazovky přes DRM, nebo použijte X11, pokud nefunguje."),
|
||||
("login-wayland-drm-tip", "Pro přístup k přihlašovací obrazovce Waylandu zkuste snímání přes DRM nebo ji přepněte na X11."),
|
||||
("Keyboard mode", "Režim klávesnice"),
|
||||
("Enable Unicode input", "Povolit vstup Unicode"),
|
||||
("unicode-input-tip", "Zachytávat text Unicode odesílaný nástroji, jako je KeePassXC Auto-Type. Vyžaduje zdroj vstupu 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Prøv DRM-skærmoptagelse for ubemandet adgang under Wayland, eller brug X11, hvis det ikke virker."),
|
||||
("login-wayland-drm-tip", "Prøv DRM-skærmoptagelse for at få adgang til Waylands login-skærm, eller skift den til X11."),
|
||||
("Keyboard mode", "Tastaturtilstand"),
|
||||
("Enable Unicode input", "Aktivér Unicode-input"),
|
||||
("unicode-input-tip", "Opfang Unicode-tekst sendt af værktøjer som KeePassXC Auto-Type. Kræver inputkilde 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Für unbeaufsichtigten Zugriff unter Wayland DRM-Bildschirmaufnahme versuchen, sonst X11 verwenden."),
|
||||
("login-wayland-drm-tip", "Für den Wayland-Anmeldebildschirm DRM-Bildschirmaufnahme versuchen oder auf X11 umstellen."),
|
||||
("Keyboard mode", "Tastaturmodus"),
|
||||
("Enable Unicode input", "Unicode-Eingabe aktivieren"),
|
||||
("unicode-input-tip", "Unicode-Text erfassen, der von Werkzeugen wie KeePassXC Auto-Type gesendet wird. Erfordert Eingabequelle 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Για πρόσβαση χωρίς επίβλεψη στο Wayland, δοκιμάστε την καταγραφή μέσω DRM ή χρησιμοποιήστε X11 αν δεν λειτουργεί."),
|
||||
("login-wayland-drm-tip", "Για πρόσβαση στην οθόνη εισόδου του Wayland, δοκιμάστε την καταγραφή μέσω DRM ή αλλάξτε την σε X11."),
|
||||
("Keyboard mode", "Λειτουργία πληκτρολογίου"),
|
||||
("Enable Unicode input", "Ενεργοποίηση εισαγωγής Unicode"),
|
||||
("unicode-input-tip", "Λήψη κειμένου Unicode που αποστέλλεται από εργαλεία όπως το KeePassXC Auto-Type. Απαιτείται η πηγή εισόδου 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -295,5 +295,6 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("drm-capture-tip", "Captures the screen directly from the graphics card through the RustDesk service, without the Wayland screen sharing prompt, including at the login screen. It may not work on every device; if connections still ask to share the screen, turn this off or use X11. Changing this disconnects current sessions."),
|
||||
("wayland-drm-tip", "For unattended access on Wayland, try DRM screen capture, or use X11 if it does not work."),
|
||||
("login-wayland-drm-tip", "To access the Wayland login screen, try DRM screen capture or switch it to X11."),
|
||||
("unicode-input-tip", "Capture Unicode text sent by tools such as KeePassXC Auto-Type. Requires input source 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Por senĉeesta aliro ĉe Wayland, provu DRM-ekrankapton, aŭ uzu X11 se ĝi ne funkcias."),
|
||||
("login-wayland-drm-tip", "Por aliri la ensalutan ekranon de Wayland, provu DRM-ekrankapton aŭ ŝanĝu ĝin al X11."),
|
||||
("Keyboard mode", "Klavara reĝimo"),
|
||||
("Enable Unicode input", "Ebligi Unicode-enigon"),
|
||||
("unicode-input-tip", "Kapti Unicode-tekston senditan de iloj kiel KeePassXC Auto-Type. Postulas enigfonton 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Para acceso desatendido en Wayland, pruebe la captura de pantalla DRM o use X11 si no funciona."),
|
||||
("login-wayland-drm-tip", "Para acceder a la pantalla de inicio de sesión de Wayland, pruebe la captura DRM o cámbiela a X11."),
|
||||
("Keyboard mode", "Modo de teclado"),
|
||||
("Enable Unicode input", "Habilitar la entrada Unicode"),
|
||||
("unicode-input-tip", "Captura texto Unicode enviado por herramientas como KeePassXC Auto-Type. Requiere la fuente de entrada 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Järelvalveta juurdepääsuks Waylandis proovi DRM-ekraanihõivet või kasuta X11, kui see ei tööta."),
|
||||
("login-wayland-drm-tip", "Waylandi sisselogimisekraanile juurdepääsuks proovi DRM-ekraanihõivet või lülita see X11 peale."),
|
||||
("Keyboard mode", "Klaviatuurirežiim"),
|
||||
("Enable Unicode input", "Luba Unicode'i sisestus"),
|
||||
("unicode-input-tip", "Püüa kinni selliste tööriistade nagu KeePassXC Auto-Type saadetud Unicode'i tekst. Nõuab sisendallikat 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Wayland-en arretarik gabeko sarrerarako, probatu DRM pantaila-kaptura, edo erabili X11 ez badabil."),
|
||||
("login-wayland-drm-tip", "Wayland-en saio-hasierako pantailara sartzeko, probatu DRM pantaila-kaptura edo aldatu X11-ra."),
|
||||
("Keyboard mode", "Teklatuaren modua"),
|
||||
("Enable Unicode input", "Gaitu Unicode sarrera"),
|
||||
("unicode-input-tip", "Atzeman KeePassXC Auto-Type bezalako tresnek bidalitako Unicode testua. 1. sarrera-iturria behar du."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "برای دسترسی بدون مراقبت در Wayland، ضبط صفحه با DRM را امتحان کنید و اگر کار نکرد از X11 استفاده کنید."),
|
||||
("login-wayland-drm-tip", "برای دسترسی به صفحه ورود Wayland، ضبط صفحه با DRM را امتحان کنید یا آن را به X11 تغییر دهید."),
|
||||
("Keyboard mode", "حالت صفحه کلید"),
|
||||
("Enable Unicode input", "فعالسازی ورودی Unicode"),
|
||||
("unicode-input-tip", "متن Unicode ارسالشده توسط ابزارهایی مانند KeePassXC Auto-Type را دریافت میکند. به منبع ورودی 1 نیاز دارد."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Kokeile valvomattomaan käyttöön Waylandissa DRM-näytönkaappausta, tai käytä X11:tä, jos se ei toimi."),
|
||||
("login-wayland-drm-tip", "Kokeile Waylandin kirjautumisnäyttöön DRM-näytönkaappausta tai vaihda se X11:een."),
|
||||
("Keyboard mode", "Näppäimistötila"),
|
||||
("Enable Unicode input", "Ota Unicode-syöte käyttöön"),
|
||||
("unicode-input-tip", "Sieppaa työkalujen (esimerkiksi KeePassXC Auto-Type) lähettämää Unicode-tekstiä. Vaatii syötelähteen 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Pour un accès non assisté sous Wayland, essayez la capture d’écran DRM, ou utilisez X11 si elle ne fonctionne pas."),
|
||||
("login-wayland-drm-tip", "Pour accéder à l’écran de connexion Wayland, essayez la capture d’écran DRM ou passez-le sous X11."),
|
||||
("Keyboard mode", "Mode du clavier"),
|
||||
("Enable Unicode input", "Activer la saisie Unicode"),
|
||||
("unicode-input-tip", "Capturer le texte Unicode envoyé par des outils tels que KeePassXC Auto-Type. Nécessite la source d'entrée 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Wayland-ზე ავტომატური წვდომისთვის სცადეთ DRM-ით ეკრანის გადაღება, ან გამოიყენეთ X11, თუ არ მუშაობს."),
|
||||
("login-wayland-drm-tip", "Wayland-ის შესვლის ეკრანზე წვდომისთვის სცადეთ DRM-ით გადაღება ან გადართეთ X11-ზე."),
|
||||
("Keyboard mode", "კლავიატურის რეჟიმი"),
|
||||
("Enable Unicode input", "Unicode შეყვანის ჩართვა"),
|
||||
("unicode-input-tip", "Unicode ტექსტის მიღება, რომელსაც აგზავნიან ისეთი ხელსაწყოები, როგორიცაა KeePassXC Auto-Type. საჭიროა შეყვანის წყარო 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Para acceso desatendido en Wayland, proba a captura de pantalla DRM ou usa X11 se non funciona."),
|
||||
("login-wayland-drm-tip", "Para acceder á pantalla de inicio de sesión de Wayland, proba a captura DRM ou cámbiaa a X11."),
|
||||
("Keyboard mode", "Modo de teclado"),
|
||||
("Enable Unicode input", "Activar a entrada Unicode"),
|
||||
("unicode-input-tip", "Capturar o texto Unicode enviado por ferramentas como KeePassXC Auto-Type. Require a fonte de entrada 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Wayland પર અનટેન્ડેડ ઍક્સેસ માટે DRM સ્ક્રીન કેપ્ચર અજમાવો, કામ ન કરે તો X11 નો ઉપયોગ કરો."),
|
||||
("login-wayland-drm-tip", "Wayland લોગિન સ્ક્રીન ઍક્સેસ કરવા DRM સ્ક્રીન કેપ્ચર અજમાવો અથવા તેને X11 પર બદલો."),
|
||||
("Keyboard mode", "કીબોર્ડ મોડ"),
|
||||
("Enable Unicode input", "Unicode ઇનપુટ સક્ષમ કરો"),
|
||||
("unicode-input-tip", "KeePassXC Auto-Type જેવા સાધનો દ્વારા મોકલાયેલ Unicode લખાણ કૅપ્ચર કરો. ઇનપુટ સ્રોત 1 જરૂરી છે."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "לגישה ללא ליווי ב-Wayland, נסה לכידת מסך באמצעות DRM, או השתמש ב-X11 אם זה לא עובד."),
|
||||
("login-wayland-drm-tip", "לגישה למסך ההתחברות של Wayland, נסה לכידת מסך באמצעות DRM או העבר אותו ל-X11."),
|
||||
("Keyboard mode", "מצב מקלדת"),
|
||||
("Enable Unicode input", "אפשר קלט Unicode"),
|
||||
("unicode-input-tip", "לכידת טקסט Unicode שנשלח מכלים כגון KeePassXC Auto-Type. נדרש מקור קלט 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Wayland पर अनअटेंडेड एक्सेस के लिए DRM स्क्रीन कैप्चर आज़माएँ, काम न करे तो X11 का उपयोग करें।"),
|
||||
("login-wayland-drm-tip", "Wayland लॉगिन स्क्रीन एक्सेस करने के लिए DRM स्क्रीन कैप्चर आज़माएँ या इसे X11 पर बदलें।"),
|
||||
("Keyboard mode", "कीबोर्ड मोड"),
|
||||
("Enable Unicode input", "Unicode इनपुट सक्षम करें"),
|
||||
("unicode-input-tip", "KeePassXC Auto-Type जैसे टूल द्वारा भेजे गए Unicode पाठ को कैप्चर करें। इसके लिए इनपुट स्रोत 1 आवश्यक है।"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Za pristup bez nadzora na Waylandu isprobajte DRM snimanje zaslona ili koristite X11 ako ne radi."),
|
||||
("login-wayland-drm-tip", "Za pristup Waylandovu zaslonu za prijavu isprobajte DRM snimanje zaslona ili ga prebacite na X11."),
|
||||
("Keyboard mode", "Način rada tipkovnice"),
|
||||
("Enable Unicode input", "Omogući Unicode unos"),
|
||||
("unicode-input-tip", "Hvatanje Unicode teksta koji šalju alati poput KeePassXC Auto-Type. Potreban je izvor unosa 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Felügyelet nélküli hozzáféréshez Waylanden próbálja ki a DRM-képernyőrögzítést, vagy használja az X11-et."),
|
||||
("login-wayland-drm-tip", "A Wayland bejelentkezési képernyőjéhez próbálja ki a DRM-képernyőrögzítést, vagy váltson X11-re."),
|
||||
("Keyboard mode", "Billentyűzetmód"),
|
||||
("Enable Unicode input", "Unicode-bevitel engedélyezése"),
|
||||
("unicode-input-tip", "Az olyan eszközök által küldött Unicode-szöveg rögzítése, mint a KeePassXC Auto-Type. Az 1. bemeneti forrást igényli."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Untuk akses tanpa pengawasan di Wayland, coba tangkapan layar DRM, atau gunakan X11 jika tidak berfungsi."),
|
||||
("login-wayland-drm-tip", "Untuk mengakses layar login Wayland, coba tangkapan layar DRM atau ubah ke X11."),
|
||||
("Keyboard mode", "Mode papan ketik"),
|
||||
("Enable Unicode input", "Aktifkan input Unicode"),
|
||||
("unicode-input-tip", "Tangkap teks Unicode yang dikirim oleh alat seperti KeePassXC Auto-Type. Memerlukan sumber input 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Per l'accesso non presidiato in Wayland, prova 'Cattura schermo DRM', o se non funziona usa X11."),
|
||||
("login-wayland-drm-tip", "Per accedere alla schermata di accesso Wayland, prova 'Cattura schermo DRM' o passa a X11."),
|
||||
("Keyboard mode", ""),
|
||||
("Enable Unicode input", ""),
|
||||
("unicode-input-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Wayland で無人アクセスを行うには DRM 画面キャプチャを試し、動作しない場合は X11 を使用してください。"),
|
||||
("login-wayland-drm-tip", "Wayland のログイン画面にアクセスするには、DRM 画面キャプチャを試すか X11 に切り替えてください。"),
|
||||
("Keyboard mode", "キーボードモード"),
|
||||
("Enable Unicode input", "Unicode 入力を有効にする"),
|
||||
("unicode-input-tip", "KeePassXC Auto-Type などのツールが送信する Unicode テキストを取り込みます。入力ソース 1 が必要です。"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Wayland에서 무인 접근을 하려면 DRM 화면 캡처를 사용해 보고, 작동하지 않으면 X11을 사용하세요."),
|
||||
("login-wayland-drm-tip", "Wayland 로그인 화면에 접근하려면 DRM 화면 캡처를 사용해 보거나 X11로 전환하세요."),
|
||||
("Keyboard mode", "키보드 모드"),
|
||||
("Enable Unicode input", "Unicode 입력 활성화"),
|
||||
("unicode-input-tip", "KeePassXC Auto-Type 같은 도구가 보내는 Unicode 텍스트를 캡처합니다. 입력 소스 1이 필요합니다."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Wayland-та қадағалаусыз қолжетімділік үшін DRM арқылы түсіруді көріңіз, жұмыс істемесе X11 қолданыңыз."),
|
||||
("login-wayland-drm-tip", "Wayland кіру экранына қол жеткізу үшін DRM арқылы түсіруді көріңіз немесе оны X11-ге ауыстырыңыз."),
|
||||
("Keyboard mode", "Пернетақта режимі"),
|
||||
("Enable Unicode input", "Unicode енгізуін қосу"),
|
||||
("unicode-input-tip", "KeePassXC Auto-Type сияқты құралдар жіберген Unicode мәтінін қабылдау. Енгізу көзі 1 қажет."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Neprižiūrimai prieigai Wayland aplinkoje išbandykite DRM ekrano fiksavimą arba naudokite X11, jei neveikia."),
|
||||
("login-wayland-drm-tip", "Norėdami pasiekti Wayland prisijungimo ekraną, išbandykite DRM fiksavimą arba perjunkite jį į X11."),
|
||||
("Keyboard mode", "Klaviatūros režimas"),
|
||||
("Enable Unicode input", "Įgalinti Unicode įvestį"),
|
||||
("unicode-input-tip", "Perimti Unicode tekstą, kurį siunčia tokie įrankiai kaip KeePassXC Auto-Type. Reikalingas įvesties šaltinis 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Neuzraudzītai piekļuvei Wayland vidē izmēģiniet DRM ekrāna tveršanu vai izmantojiet X11, ja tā nedarbojas."),
|
||||
("login-wayland-drm-tip", "Lai piekļūtu Wayland pieteikšanās ekrānam, izmēģiniet DRM ekrāna tveršanu vai pārslēdziet to uz X11."),
|
||||
("Keyboard mode", "Tastatūras režīms"),
|
||||
("Enable Unicode input", "Iespējot Unicode ievadi"),
|
||||
("unicode-input-tip", "Pārtvert Unicode tekstu, ko nosūta tādi rīki kā KeePassXC Auto-Type. Nepieciešams ievades avots 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Wayland-ൽ ആളില്ലാതെയുള്ള ആക്സസിന് DRM സ്ക്രീൻ ക്യാപ്ചർ പരീക്ഷിക്കുക, പ്രവർത്തിച്ചില്ലെങ്കിൽ X11 ഉപയോഗിക്കുക."),
|
||||
("login-wayland-drm-tip", "Wayland ലോഗിൻ സ്ക്രീനിൽ പ്രവേശിക്കാൻ DRM സ്ക്രീൻ ക്യാപ്ചർ പരീക്ഷിക്കുക അല്ലെങ്കിൽ അത് X11-ലേക്ക് മാറ്റുക."),
|
||||
("Keyboard mode", "കീബോർഡ് മോഡ്"),
|
||||
("Enable Unicode input", "Unicode ഇൻപുട്ട് പ്രവർത്തനക്ഷമമാക്കുക"),
|
||||
("unicode-input-tip", "KeePassXC Auto-Type പോലുള്ള ഉപകരണങ്ങൾ അയയ്ക്കുന്ന Unicode ടെക്സ്റ്റ് ക്യാപ്ചർ ചെയ്യുക. ഇൻപുട്ട് ഉറവിടം 1 ആവശ്യമാണ്."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Prøv DRM-skjermopptak for uovervåket tilgang på Wayland, eller bruk X11 hvis det ikke virker."),
|
||||
("login-wayland-drm-tip", "Prøv DRM-skjermopptak for å nå Waylands påloggingsskjerm, eller bytt den til X11."),
|
||||
("Keyboard mode", "Tastaturmodus"),
|
||||
("Enable Unicode input", "Aktiver Unicode-inndata"),
|
||||
("unicode-input-tip", "Fang opp Unicode-tekst som sendes av verktøy som KeePassXC Auto-Type. Krever inndatakilde 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Probeer voor onbeheerde toegang onder Wayland DRM-schermopname, of gebruik X11 als dat niet werkt."),
|
||||
("login-wayland-drm-tip", "Probeer voor het Wayland-aanmeldingsscherm DRM-schermopname of zet het om naar X11."),
|
||||
("Keyboard mode", "Toetsenbordmodus"),
|
||||
("Enable Unicode input", "Unicode-invoer inschakelen"),
|
||||
("unicode-input-tip", "Unicode-tekst opvangen die wordt verzonden door hulpmiddelen zoals KeePassXC Auto-Type. Vereist invoerbron 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Dla dostępu nienadzorowanego w Wayland wypróbuj przechwytywanie przez DRM lub użyj X11, jeśli nie działa."),
|
||||
("login-wayland-drm-tip", "Aby uzyskać dostęp do ekranu logowania Wayland, wypróbuj przechwytywanie przez DRM lub przełącz go na X11."),
|
||||
("Keyboard mode", "Tryb klawiatury"),
|
||||
("Enable Unicode input", "Włącz wprowadzanie Unicode"),
|
||||
("unicode-input-tip", "Przechwytuj tekst Unicode wysyłany przez narzędzia takie jak KeePassXC Auto-Type. Wymaga źródła wejścia 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Para acesso autônomo no Wayland, experimente a captura de tela DRM ou use o X11 se não funcionar."),
|
||||
("login-wayland-drm-tip", "Para acessar a tela de login do Wayland, experimente a captura de tela DRM ou mude-a para o X11."),
|
||||
("Keyboard mode", "Modo do teclado"),
|
||||
("Enable Unicode input", "Habilitar entrada Unicode"),
|
||||
("unicode-input-tip", "Captura texto Unicode enviado por ferramentas como o KeePassXC Auto-Type. Requer a fonte de entrada 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Para acesso não assistido no Wayland, experimente a captura de ecrã DRM ou utilize o X11 se não funcionar."),
|
||||
("login-wayland-drm-tip", "Para aceder ao ecrã de início de sessão do Wayland, experimente a captura DRM ou mude-o para X11."),
|
||||
("Keyboard mode", "Modo do teclado"),
|
||||
("Enable Unicode input", "Ativar entrada Unicode"),
|
||||
("unicode-input-tip", "Captura texto Unicode enviado por ferramentas como o KeePassXC Auto-Type. Requer a fonte de entrada 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Pentru acces nesupravegheat pe Wayland, încearcă captura de ecran DRM sau folosește X11 dacă nu funcționează."),
|
||||
("login-wayland-drm-tip", "Pentru a accesa ecranul de conectare Wayland, încearcă captura DRM sau comută-l pe X11."),
|
||||
("Keyboard mode", "Mod tastatură"),
|
||||
("Enable Unicode input", "Activează introducerea Unicode"),
|
||||
("unicode-input-tip", "Capturează textul Unicode trimis de instrumente precum KeePassXC Auto-Type. Necesită sursa de intrare 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Для автоматического доступа в Wayland попробуйте захват экрана через DRM, а если не работает — X11."),
|
||||
("login-wayland-drm-tip", "Для доступа к экрану входа Wayland попробуйте захват экрана через DRM или переключите его на X11."),
|
||||
("Keyboard mode", "Режим клавиатуры"),
|
||||
("Enable Unicode input", "Включить ввод Unicode"),
|
||||
("unicode-input-tip", "Перехватывать текст Unicode, отправляемый такими инструментами, как KeePassXC Auto-Type. Требуется источник ввода 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", ""),
|
||||
("login-wayland-drm-tip", ""),
|
||||
("Keyboard mode", "Modalidade de tecladu"),
|
||||
("Enable Unicode input", "Abìlita s'intrada Unicode"),
|
||||
("unicode-input-tip", "Catura su testu Unicode imbiadu dae ainas comente KeePassXC Auto-Type. Bisòngiat sa mitza de intrada 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Pre bezobslužný prístup vo Waylande skúste snímanie obrazovky cez DRM, alebo použite X11, ak nefunguje."),
|
||||
("login-wayland-drm-tip", "Pre prístup k prihlasovacej obrazovke Waylandu skúste snímanie cez DRM alebo ju prepnite na X11."),
|
||||
("Keyboard mode", "Režim klávesnice"),
|
||||
("Enable Unicode input", "Povoliť vstup Unicode"),
|
||||
("unicode-input-tip", "Zachytávať text Unicode odosielaný nástrojmi, ako je KeePassXC Auto-Type. Vyžaduje sa zdroj vstupu 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Za nespremljan dostop v Waylandu poskusite zajem zaslona prek DRM ali uporabite X11, če ne deluje."),
|
||||
("login-wayland-drm-tip", "Za dostop do Waylandovega zaslona za prijavo poskusite zajem prek DRM ali ga preklopite na X11."),
|
||||
("Keyboard mode", "Način tipkovnice"),
|
||||
("Enable Unicode input", "Omogoči vnos Unicode"),
|
||||
("unicode-input-tip", "Zajemi besedilo Unicode, ki ga pošiljajo orodja, kot je KeePassXC Auto-Type. Zahteva vir vnosa 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Për akses pa mbikëqyrje në Wayland, provoni kapjen e ekranit me DRM ose përdorni X11 nëse nuk funksionon."),
|
||||
("login-wayland-drm-tip", "Për të hyrë në ekranin e hyrjes së Wayland, provoni kapjen me DRM ose kalojeni në X11."),
|
||||
("Keyboard mode", "Modaliteti i tastierës"),
|
||||
("Enable Unicode input", "Aktivizo hyrjen Unicode"),
|
||||
("unicode-input-tip", "Kap tekstin Unicode të dërguar nga mjete si KeePassXC Auto-Type. Kërkon burimin e hyrjes 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Za pristup bez nadzora na Waylandu probajte DRM snimanje ekrana ili koristite X11 ako ne radi."),
|
||||
("login-wayland-drm-tip", "Za pristup Wayland ekranu za prijavu probajte DRM snimanje ekrana ili ga prebacite na X11."),
|
||||
("Keyboard mode", "Režim tastature"),
|
||||
("Enable Unicode input", "Omogući Unicode unos"),
|
||||
("unicode-input-tip", "Hvatanje Unicode teksta koji šalju alati kao što je KeePassXC Auto-Type. Zahteva izvor unosa 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Prova DRM-skärminspelning för obevakad åtkomst på Wayland, eller använd X11 om det inte fungerar."),
|
||||
("login-wayland-drm-tip", "Prova DRM-skärminspelning för att nå Waylands inloggningsskärm, eller byt den till X11."),
|
||||
("Keyboard mode", "Tangentbordsläge"),
|
||||
("Enable Unicode input", "Aktivera Unicode-inmatning"),
|
||||
("unicode-input-tip", "Fånga Unicode-text som skickas av verktyg som KeePassXC Auto-Type. Kräver inmatningskälla 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Wayland இல் கவனிப்பற்ற அணுகலுக்கு DRM திரைப் பிடிப்பை முயற்சிக்கவும், வேலை செய்யாவிட்டால் X11 ஐப் பயன்படுத்தவும்."),
|
||||
("login-wayland-drm-tip", "Wayland உள்நுழைவுத் திரையை அணுக DRM திரைப் பிடிப்பை முயற்சிக்கவும் அல்லது அதை X11 க்கு மாற்றவும்."),
|
||||
("Keyboard mode", "விசைப்பலகை முறை"),
|
||||
("Enable Unicode input", "Unicode உள்ளீட்டை இயக்கு"),
|
||||
("unicode-input-tip", "KeePassXC Auto-Type போன்ற கருவிகள் அனுப்பும் Unicode உரையைப் பிடிக்கவும். உள்ளீட்டு மூலம் 1 தேவை."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", ""),
|
||||
("login-wayland-drm-tip", ""),
|
||||
("Keyboard mode", ""),
|
||||
("Enable Unicode input", ""),
|
||||
("unicode-input-tip", ""),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "สำหรับการเข้าถึงแบบไม่มีผู้ดูแลบน Wayland ให้ลองจับภาพหน้าจอผ่าน DRM หรือใช้ X11 หากใช้ไม่ได้"),
|
||||
("login-wayland-drm-tip", "หากต้องการเข้าถึงหน้าจอเข้าสู่ระบบของ Wayland ให้ลองจับภาพผ่าน DRM หรือเปลี่ยนเป็น X11"),
|
||||
("Keyboard mode", "โหมดคีย์บอร์ด"),
|
||||
("Enable Unicode input", "เปิดใช้งานการป้อนข้อมูล Unicode"),
|
||||
("unicode-input-tip", "จับข้อความ Unicode ที่ส่งจากเครื่องมือ เช่น KeePassXC Auto-Type โดยต้องใช้แหล่งป้อนข้อมูล 1"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Wayland'de gözetimsiz erişim için DRM ekran yakalamayı deneyin, çalışmazsa X11 kullanın."),
|
||||
("login-wayland-drm-tip", "Wayland giriş ekranına erişmek için DRM ekran yakalamayı deneyin veya ekranı X11'e geçirin."),
|
||||
("Keyboard mode", "Klavye modu"),
|
||||
("Enable Unicode input", "Unicode girişini etkinleştir"),
|
||||
("unicode-input-tip", "KeePassXC Auto-Type gibi araçların gönderdiği Unicode metnini yakalar. Giriş kaynağı 1 gerektirir."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "如需在 Wayland 上無人值守存取,請嘗試 DRM 擷取螢幕;若無法運作,請使用 X11。"),
|
||||
("login-wayland-drm-tip", "如需存取 Wayland 登入畫面,請嘗試 DRM 擷取螢幕,或將其切換到 X11。"),
|
||||
("Keyboard mode", "鍵盤模式"),
|
||||
("Enable Unicode input", "啟用 Unicode 輸入"),
|
||||
("unicode-input-tip", "擷取 KeePassXC 自動輸入等工具傳送的 Unicode 文字。需要使用輸入來源 1。"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Для автоматичного доступу у Wayland спробуйте захоплення екрана через DRM, а якщо не працює — X11."),
|
||||
("login-wayland-drm-tip", "Для доступу до екрана входу Wayland спробуйте захоплення через DRM або перемкніть його на X11."),
|
||||
("Keyboard mode", "Режим клавіатури"),
|
||||
("Enable Unicode input", "Увімкнути введення Unicode"),
|
||||
("unicode-input-tip", "Перехоплювати текст Unicode, надісланий такими інструментами, як KeePassXC Auto-Type. Потрібне джерело введення 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Wayland پر بغیر نگرانی رسائی کے لیے DRM اسکرین کیپچر آزمائیں، کام نہ کرے تو X11 استعمال کریں۔"),
|
||||
("login-wayland-drm-tip", "Wayland لاگ ان اسکرین تک رسائی کے لیے DRM اسکرین کیپچر آزمائیں یا اسے X11 پر منتقل کریں۔"),
|
||||
("Keyboard mode", "کی بورڈ موڈ"),
|
||||
("Enable Unicode input", "Unicode ان پٹ کو فعال کریں"),
|
||||
("unicode-input-tip", "KeePassXC Auto-Type جیسے ٹولز کے بھیجے گئے Unicode متن کو کیپچر کریں۔ ان پٹ کا ماخذ 1 درکار ہے۔"),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -831,5 +831,7 @@ pub static ref T: std::collections::HashMap<&'static str, &'static str> =
|
||||
("wayland-drm-tip", "Để truy cập không giám sát trên Wayland, hãy thử chụp màn hình qua DRM, hoặc dùng X11 nếu không hoạt động."),
|
||||
("login-wayland-drm-tip", "Để truy cập màn hình đăng nhập Wayland, hãy thử chụp màn hình qua DRM hoặc chuyển nó sang X11."),
|
||||
("Keyboard mode", "Chế độ bàn phím"),
|
||||
("Enable Unicode input", "Bật đầu vào Unicode"),
|
||||
("unicode-input-tip", "Thu nhận văn bản Unicode do các công cụ như KeePassXC Auto-Type gửi đến. Yêu cầu nguồn đầu vào 1."),
|
||||
].iter().cloned().collect();
|
||||
}
|
||||
@@ -103,6 +103,7 @@ mod acl;
|
||||
pub(crate) mod installer_files;
|
||||
mod installer_handoff;
|
||||
mod installer_shell;
|
||||
pub(crate) mod keyboard;
|
||||
mod verified_update;
|
||||
mod msi_registry;
|
||||
pub(crate) use acl::current_process_user_sid_string;
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
use crate::keyboard::UnicodePacket;
|
||||
use rdev::{Event, EventType};
|
||||
use winapi::um::winuser::VK_PACKET;
|
||||
|
||||
pub(crate) fn is_unicode_packet(event: &Event) -> bool {
|
||||
rdev::is_unicode_packet_enabled() && event.platform_code == VK_PACKET as u32
|
||||
}
|
||||
|
||||
pub(crate) fn handle_unicode_packet(event: &Event, decoder: &mut UnicodePacket) -> bool {
|
||||
const ERROR_LOG_INTERVAL: std::time::Duration = std::time::Duration::from_secs(1);
|
||||
if !rdev::is_unicode_packet_enabled() {
|
||||
return false;
|
||||
}
|
||||
// Tab/Enter use the current session, which can change before the grab owner.
|
||||
// Use the same session snapshot for permissions and sending the packet text.
|
||||
#[cfg(feature = "flutter")]
|
||||
let Some(session) = crate::flutter::get_cur_session() else {
|
||||
*decoder = Default::default();
|
||||
return false;
|
||||
};
|
||||
#[cfg(feature = "flutter")]
|
||||
if !*session.server_keyboard_enabled.read().unwrap() || session.lc.read().unwrap().view_only.v {
|
||||
*decoder = Default::default();
|
||||
return false;
|
||||
}
|
||||
if matches!(event.event_type, EventType::KeyPress(_)) {
|
||||
match decoder.decode(event.position_code) {
|
||||
Ok(Some(key_event)) => {
|
||||
#[cfg(feature = "flutter")]
|
||||
session.send_key_event(&key_event);
|
||||
#[cfg(not(feature = "flutter"))]
|
||||
crate::keyboard::send_key_event(&key_event);
|
||||
}
|
||||
Ok(None) => {}
|
||||
Err(err) => {
|
||||
hbb_common::throttled_log!(ERROR_LOG_INTERVAL, warn, "{err}");
|
||||
}
|
||||
}
|
||||
}
|
||||
true
|
||||
}
|
||||
@@ -255,6 +255,10 @@ pub fn get_builtin_option(key: &str) -> String {
|
||||
|
||||
#[inline]
|
||||
pub fn set_local_option(key: String, value: String) {
|
||||
#[cfg(windows)]
|
||||
if key == keys::OPTION_ALLOW_UNICODE_INPUT {
|
||||
crate::keyboard::client::set_unicode_input_enabled(value == "Y");
|
||||
}
|
||||
LocalConfig::set_option(key.clone(), value);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user