[BRLTTY] Mapping a braille display input character to a computer-keyboard/browser character.
Siju Samuel
sijusamueltech at gmail.com
Wed Sep 18 19:03:17 EDT 2013
Hi,
I have some clarification on a user entering text in braille display input
and how to map dot sequence to a computer keyboard character.
For the character "b", the corresponding braille representation is two
dots (: dots-12 and Unicode is 0x2803). Similarly for "a" it is (.
dots1) . So if it needs to be entered in braille display;
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) to the
Unicode corresponding to "b". Any reference to Brltty code (if possible)
would be helpful.
Thanks,
Siju samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mielke.cc/pipermail/brltty/attachments/20130918/fa9d71b4/attachment.html>
More information about the BRLTTY
mailing list