[BRLTTY] Low-level BrlAPI questions
Aura Kelloniemi
kaura.dev at sange.fi
Thu Apr 15 01:03:30 EDT 2021
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.
--
Aura
More information about the BRLTTY
mailing list