On Thu, 17 May 2018 18:53:10 +0200 Dorota Czaplejewicz <[email protected]> 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 Apart from the typo that Silvan spotted, I have also encountered the issue where the .c/.h generator complained about undefined key_state and keymap_format enums which are defined in wayland.xml. I'm not sure what the correct way to solve this - should they be copied into this protocol? Cheers, Dorota
pgpWUjf6GNGOd.pgp
Description: OpenPGP digital signature
_______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
