Crates.io | zwp-virtual-keyboard |
lib.rs | zwp-virtual-keyboard |
version | 0.2.7 |
source | src |
created_at | 2020-09-02 20:34:05.17248 |
updated_at | 2022-10-08 22:23:35.23145 |
description | DEPRECATED: (Unsafe) Rust code generated with wayland-scanner crate for virtual_keyboard_unstable_v1 protocol |
homepage | |
repository | https://github.com/pentamassiv/zwp-virtual-keyboard |
max_upload_size | |
id | 283984 |
size | 93,066 |
Rust code generated with wayland-scanner crate for virtual_keyboard_unstable_v1 protocol. Some parts might not be safe, even though they are not marked ad "unsafe". One example is that you need to send the correct length of the file when sending a keymap. There might be more though.
In order to run the example, your compositor must understand the zwp-virtual-keyboard protocol. Phosh/phoc on the Pinephone or Librem 5 understands it. I usually build the example for my Pinephone and open the editor on it. Then I use scp to copy the executable to the phone and execute it over ssh. You should now see that multiple 'x' characters are entered into the editor.
Rust-analyser complains about unresolved issues, but this is a bug. It builds just fine.
PR are always welcome :)