Aura Kelloniemi, le jeu. 15 avril 2021 08:03:30 +0300, a ecrit: > On 2021-04-14 at 17:44 +0200, Samuel Thibault <[email protected]> > 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 _______________________________________________ This message was sent via the BRLTTY mailing list. To post a message, send an e-mail to: [email protected] For general information, go to: http://brltty.app/mailman/listinfo/brltty
