[Accessibility] Need to be able to register for key events globally

Bill Spitzak spitzak at gmail.com
Wed Dec 11 11:18:41 PST 2013

Piñeiro wrote:
> On 12/11/2013 07:14 PM, Giulio Camuffo wrote:
>> Not currently.
>> I'm not sure what you mean with consumed. Do you mean that a not
>> consumed event is still received by the client that has the focus
>> while a consumed one is not?
> Yes, means that. On the example with Orca (GNOME screen reader), if you
> press NumPad8, let's say on a text editor, Orca speak the current line,
> but the editor doesn't receive that key (so doesn't change the text
> being edited).
>> If so, i guess a protocol could be developed where the compositor
>> sends an event with the key that is pressed and then the client can
>> reply with a request to send it to the focused client too.

This sounds like it can be done by the input method (ie the same thing 
that makes keystrokes turn into characters). It already gets a lot of 
context text, maybe that is enough so that the input method can "speak 
the current line".

More information about the wayland-devel mailing list