[BRLTTY] BrlAPI Raw key code mode?

Shérab Sebastien.Hinderer at ens-lyon.org
Thu Jul 27 11:26:21 EDT 2017


Mario Lang (2017/07/27 17:17 +0200):
> Shérab <Sebastien.Hinderer at ens-lyon.org> writes:
> 
> > Mario Lang (2017/07/27 16:40 +0200):
> >> In fact, I know the core doesn't pass the keypresses on because some of
> >> the keys result in BRLTTY playing a sound, as if it were trying to read
> >> a screen.  Maybe the detection logic for brl_keyToCommand() is the
> >> problem?  Or something else?
> >
> > See the brlapi_acceptKeyRange function & co. You may need to let BrlAPI
> > know which keys your application is interested in. I thought in "raw
> > keycode" mode all the keys would be passed to the client by defautl but
> > it may not be the case.
> 
> The documentation of "Raw keycode" mode does explicitly state that
> brlapi_acceptKeyRange() is not necessary.

Yes, I know.

> I will give it a try.

May be worth it.

> What should I pass?

0 and the biggest 64bits integer, I don't know how it's called.

Shérab.


More information about the BRLTTY mailing list