[BRLTTY] Low-level BrlAPI questions
Samuel Thibault
samuel.thibault at ens-lyon.org
Thu Apr 15 04:02:51 EDT 2021
Aura Kelloniemi, le jeu. 15 avril 2021 08:03:30 +0300, a ecrit:
> On 2021-04-14 at 17:44 +0200, Samuel Thibault <samuel.thibault at ens-lyon.org> wrote:
> > Aura Kelloniemi, le mer. 14 avril 2021 18:26:04 +0300, a ecrit:
> > > I wrote a test which tries to ignore the LNUP command:
> > >
> > > const brlapi_keyCode_t cmds[1] = { BRLAPI_KEY_CMD_LNUP };
> > > brlapi_ignoreKeys(brlapi_rangeType_command, cmds, 1)
> > >
> > > but I get an invalid parameter error.
>
> > BRLAPI_KEY_CMD_LNUP alone is not enough, you need to also specify the
> > type of key with BRLAPI_KEY_TYPE_CMD otherwise it's not a complete
> > keycode value.
>
> I tried this with ignoreKeys, and now I get an Illegal instruction error
> instead of Invalid parameter.
Had you called enterTty before this?
Samuel
More information about the BRLTTY
mailing list