[BRLTTY] Routing key events
payman shaykhmehdi
payman.shaykhmehdi at gmail.com
Thu Aug 29 05:00:08 EDT 2019
Thank you for the information,
But the point is that I don't want to use brlapi in my application, I'm
trying to grab the system event that a routing key triggers.
Is it a mouse event?
On Thu, Aug 29, 2019 at 12:34 PM Samuel Thibault <
samuel.thibault at ens-lyon.org> wrote:
> Hello,
>
> payman shaykhmehdi, le jeu. 29 août 2019 12:25:58 +0430, a ecrit:
> > What is the event type of routing keys?
>
> See man brlapi_keycodes
>
> For instance, if key == 0x0000000020010008,
> - (key & BRLAPI_KEY_TYPE_MASK) == BRLAPI_KEY_TYPE_CMD, so it's a braille
> command
> - (key & BRLAPI_KEY_CMD_BLK_MASK) == BRLAPI_KEY_CMD_ROUTE, so it's the
> braille route command.
> - (key & BRLAPI_KEY_CMD_ARG_MASK) == 8, so the highlighted cell is the 9th
> one (cells are numbered from 0)
> - (key & BRLAPI_KEY_FLAGS_MASK) == 0, so no modifier key was pressed
> during
> the command, and no particular flag applies to the command.
>
> Samuel
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at brltty.app
> For general information, go to: http://brltty.app/mailman/listinfo/brltty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://brltty.app/pipermail/brltty/attachments/20190829/f19cfb93/attachment.html>
More information about the BRLTTY
mailing list