Rob Meredith, le Tue 10 Mar 2009 15:22:49 -0400, a écrit :
> How difficult would it be for one to modify brlapi to return the dot pattern
> instead of the character? Was this a fundamental change effecting lots of
> code and drivers, or can I just change a few lines to make it work the old
> way?
If it's just for your own use, the attached patch should be just fine
for now.
Samuel
Index: Programs/cmd.c
===================================================================
--- Programs/cmd.c (révision 4332)
+++ Programs/cmd.c (copie de travail)
@@ -329,9 +329,6 @@
case BRL_BLK_PASSCHAR:
code = cmdWCharToBrlapi(convertCharToWchar(command & BRL_MSK_ARG));
break;
- case BRL_BLK_PASSDOTS:
- code = cmdWCharToBrlapi(convertDotsToCharacter(textTable, command &
BRL_MSK_ARG));
- break;
case BRL_BLK_PASSKEY:
switch (command & BRL_MSK_ARG) {
case BRL_KEY_ENTER: code = BRLAPI_KEY_SYM_LINEFEED; break;
_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: [email protected]
For general information, go to: http://mielke.cc/mailman/listinfo/brltty