[BRLTTY] API to change text table
Dave Mielke
Dave at mielke.cc
Sat Jun 15 15:07:02 EDT 2024
[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 |
More information about the BRLTTY
mailing list