Samuel:

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?

Rob

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Samuel Thibault
Sent: Tuesday, March 10, 2009 11:39 AM
To: Informal discussion between users and developers of BRLTTY.
Subject: Re: [BRLTTY] BRLAPI

Rob Meredith, le Tue 10 Mar 2009 11:23:12 -0400, a écrit :
> I have been using the version of brlapi found in brltty 3.10 for a while. 
> Under that version, the following code worked:
> brlapi_readKey(0,&code);
> brlapi_expandKeyCode(code, &expCode);
> if ((expCode.type == BRLAPI_KEY_TYPE_CMD) &&
>                                                 (expCode.command 
> ==BRLAPI_KEY_CMD_PASSDOTS)) ...
>
> With the current development build, I never get a command of 
> BRLAPI_KEY_CMD_PASSDOTS. Instead, I get the characters typed on the display 
> in the argument field.
>
> Was this an intended change, and if so, how can I get the dot patterns 
> instead?

It was intended, for convenience of the user, yes. There is no way for
an application to choose yet, but that's planned.

Samuel
_______________________________________________
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
_______________________________________________
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

Reply via email to