#wayland-protocol #wayland #unstable #linux #wayland-scanner #virtual-keyboard

deprecated sys zwp-virtual-keyboard

DEPRECATED: (Unsafe) Rust code generated with wayland-scanner crate for virtual_keyboard_unstable_v1 protocol

1 unstable release

0.2.7 Oct 8, 2022
0.2.6 May 2, 2022
0.2.4 Sep 28, 2021
0.2.3 Jul 31, 2021
0.1.0 Sep 2, 2020

#42 in #wayland-protocol

Download history 16/week @ 2024-07-21 29/week @ 2024-07-28 18/week @ 2024-08-04 72/week @ 2024-08-11 9/week @ 2024-08-18 15/week @ 2024-08-25 14/week @ 2024-09-01 13/week @ 2024-09-08 31/week @ 2024-09-15 55/week @ 2024-09-22 55/week @ 2024-09-29 38/week @ 2024-10-06 14/week @ 2024-10-13 16/week @ 2024-10-20 23/week @ 2024-10-27 12/week @ 2024-11-03

71 downloads per month

MIT license

18KB

DEPRECATED: When I created this crate, the protocol was not available in the wayland_protocols_misc crate. Since v0.30.0-beta.10 it is available so there is no reason for this crate to continue to exits. Please use the wayland_protocols_misc crate instead.

Crate dependency status docs.rs Build dependabot status

zwp-virtual-keyboard

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.

Run the example

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.

Bug with rust-analyser

Rust-analyser complains about unresolved issues, but this is a bug. It builds just fine.

Contributing

PR are always welcome :)

Dependencies

~2MB
~42K SLoC