[BRLTTY] BrlAPI Raw key code mode?

Mario Lang mlang at delysid.org
Thu Jul 27 11:17:16 EDT 2017


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.  I will give it a try.
What should I pass?

-- 
CYa,
  ⡍⠁⠗⠊⠕ | Blog: <https://blind.guru/>  GitHub: <https://github.com/mlang/>
  .''`. | Twitter: @blindbird23        FaceBook: disyled
 : :' : | SoundCloud: <soundcloud.com/mario-lang>
 `. `'  | YouTube: <youtube.com/user/mlang23>
   `-


More information about the BRLTTY mailing list