[BRLTTY] API to change text table

payman shaykhmehdi payman.shaykhmehdi at gmail.com
Sun Jun 16 00:58:00 EDT 2024


That's great,

Thank you for your reply.

On Sat, Jun 15, 2024 at 10:37 PM Dave Mielke <Dave at mielke.cc> wrote:

> [quoted lines by payman shaykhmehdi on 2024/06/15 at 08:37 +0330]
>
> >I'm writing a braille learning application for persian users. It needs to
> >be sure that the braille table for brltty is persian. So I need to change
> >the text table from within my application code. But it seems that
> >libbrlapi doesn't have this functionality.
>
> Yes, you can already do that. You do it via BrlAPI's parameter interface,
> i.e. via the brlapi_setParameter() function. The two parameters of
> particular interest in your case are BRLAPI_PARAM_COMPUTER_BRAILLE_TABLE
> and BRLAPI_PARAM_LITERARY_BRAILLE_TABLE.
>
> --
> I believe the Bible to be the very Word of God: http://Mielke.cc/bible/
> Dave Mielke            | 2213 Fox Crescent | WebHome: http://Mielke.cc/
> EMail: Dave at Mielke.cc  | Ottawa, Ontario   | Twitter: @Dave_Mielke
> Phone: +1 613 726 0014 | Canada  K2A 1H7   |
> _______________________________________________
> 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/20240616/87a718cb/attachment.html>


More information about the BRLTTY mailing list