[BRLTTY] Mapping a braille display input character to a computer-keyboard/browser character.

Samuel Thibault samuel.thibault at ens-lyon.org
Wed Sep 25 14:12:53 EDT 2013


Hello,

Siju Samuel, le Wed 18 Sep 2013 18:03:17 -0500, a écrit :
> Assuming the following is true for  bralpi_readKey() in a Loop  (for reading
> "ba" and later pressing linedown)
>  
> 1. readKey() // gets code correspondning to moving the cursor
> 2. readKey() // gets code for dot1
> 3. readKey() // gets code  for dot2
> 4. readkey() //  gets code correspondning to moving the cursor to next location
> 5. readKey() // gets code for dot1
> 6. readkey() //  gets code correspondning to moving the cursor to next location
> 7. readkey() //  gets code for line down or ( next line) 
>  
>  
> Do there have any routine or an easy way to combine 2 and 3 (above)

Mmm, you should have already the 2+3 combination, as just one character.
If that's not the case, the driver should be fixed.

> to the Unicode corresponding to "b".

The translation from dots to text is most probably better done thanks to
liblouis, in order to properly support contracted text etc.

Samuel


More information about the BRLTTY mailing list