[BRLTTY] BrlAPI Raw key code mode?

Samuel Thibault samuel.thibault at ens-lyon.org
Fri Sep 1 04:01:46 EDT 2017


Shérab, on ven. 01 sept. 2017 09:53:51 +0200, wrote:
> Samuel Thibault (2017/09/01 09:49 +0200):
> > Aura Kelloniemi, on ven. 01 sept. 2017 08:01:36 +0300, wrote:
> > > I would prefer the interface to be such that BRLTTY sends the raw key codes
> > > (or commands, or maybe even both) to a client. Then the client responds to
> > > BRLTTY whether it actually consumed the key or not so that BRLTTY can pass the
> > > same code to another client.
> > 
> > That will however lead to latency increase with each client doing this:
> > key presses will bounce between brltty and clients before reaching the
> > eventual client.
> 
> It's also not so clear to me in which order the key should be passed to
> the different clients.

It'd be acquisition order, just like it's done within the core already.

> > so the
> > ping-pong happens quickly within brltty itself.
> 
> And only between two players: brltty's core and the client that has
> control of the tty which has the focus at some point.

The ping-pong is not even between them. It's really within brltty, and
then the code is only delivered once to the resulting client choice.

Samuel


More information about the BRLTTY mailing list