Difference between revisions of "Translations:Basic concept/15/zh-cn"

From Fcitx
Jump to navigation Jump to search
(Created page with "=== Wayland IM === 有 zwp_input_method_v1 和 zwp_input_method_v2。在 V1 中,关键事件来自应用程序,并经过与 DBus 相似的代码路径。在 V2 中,Input...")
 
(No difference)

Latest revision as of 03:19, 19 April 2023

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Basic concept)
=== Wayland IM ===
There's zwp_input_method_v1 and zwp_input_method_v2. In V1, the key event is from application and goes through a similar code path like DBus. In V2, Input method will need to create a keyboard grab and Compositor will forward all the key to input methods. The key code to key sym translation is done on the Fcitx side, with the keymap from compositor.
Translation=== Wayland IM ===
有 zwp_input_method_v1 和 zwp_input_method_v2。在 V1 中,关键事件来自应用程序,并经过与 DBus 相似的代码路径。在 V2 中,Input method 需要创建键盘抓取事件,合成器(Compositor)会将所有键转发给输入法。按键符号转换的关键代码是在 Fcitx 端完成的,会使用来自合成器(Compositor)的键盘映射。

Wayland IM

有 zwp_input_method_v1 和 zwp_input_method_v2。在 V1 中,关键事件来自应用程序,并经过与 DBus 相似的代码路径。在 V2 中,Input method 需要创建键盘抓取事件,合成器(Compositor)会将所有键转发给输入法。按键符号转换的关键代码是在 Fcitx 端完成的,会使用来自合成器(Compositor)的键盘映射。