[BRLTTY] Routing key events
Samuel Thibault
samuel.thibault at ens-lyon.org
Thu Aug 29 04:04:29 EDT 2019
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
More information about the BRLTTY
mailing list