[PATCH] virtual-keyboard: Add new virtual keyboard protocol
Silvan Jegen
s.jegen at gmail.com
Fri May 18 18:31:08 UTC 2018
Hi
Just a typo I found below.
On Thu, May 17, 2018 at 06:53:10PM +0200, Dorota Czaplejewicz wrote:
> Provides the ability to emulate keyboards by
> applications. Complementary to input-method protocol.
>
> The interface is a mirror copy of wl_keyboard, with removed serials,
> and added seat binding.
> ---
>
> This proposal is another one needed by Purism to support on screen
> keyboards on a phone screen.
>
> Virtual-keyboard is a protocol to let applications send arbitrary
> keyboard events. The need for this protocol comes from the fact
> that the input-method protocol combines two separate input
> responsibilities. It currently deals both with text input and raw
> keyboard events. I hope to split input-method along this line into
> virtual-keyboard and the rest of input-method. I'm going to submit the
> updated input-method for review soon.
>
> Applications should be able to control both interfaces at the same
> time. A screen keyboard supporting autocorrect (input-method) still
> wants to send arrow keys (vityual-keyboard) correctly. Because of
> this, both kinds of events at minimum must be sent to the same seat. I
> made the seat binding explicitly done by the application, taking
> inspiration from text-input protocol, which assumes per-seat binding
> as well.
>
> Input welcome.
>
> Cheers,
> Dorota
>
> Makefile.am | 1 +
> .../virtual-keyboard-unstable-v1.xml | 97 ++++++++++++++++++++++
> 2 files changed, 98 insertions(+)
> create mode 100644 unstable/virtual-keyboard/virtual-keyboard-unstable-v1.xml
>
> diff --git a/Makefile.am b/Makefile.am
> index 4b9a901..51a47a2 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -17,6 +17,7 @@ unstable_protocols = \
> unstable/keyboard-shortcuts-inhibit/keyboard-shortcuts-inhibit-unstable-v1.xml \
> unstable/xdg-output/xdg-output-unstable-v1.xml \
> unstable/input-timestamps/input-timestamps-unstable-v1.xml \
> + nstable/virtual-keyboard/virtual-keyboard-unstable-v1.xml \
There is a 'u' missing in the beginning of the file location.
Cheers,
Silvan
More information about the wayland-devel
mailing list