[BRLTTY] Orca and last cvs brltty snapshot

Samuel Thibault samuel.thibault at ens-lyon.org
Mon Jan 8 13:31:40 EST 2007


Hi,

Willie Walker, le Wed 03 Jan 2007 16:28:56 -0500, a écrit :
> Based upon a stack trace posted by one of the Orca users, I now see that
> ignoreKeyRange and acceptKeyRange no longer take a single list
> parameter, but now take two parameters.  Since I realize I'm dealing
> with an unstable API at the momemnt, this is OK and I can adjust the
> Orca code accordingly.  

Ah, yes, we probably forgot to warn you. We indeed realized that using
an array here was useless.

> However, I seem to have problems enabling the cursor routing keys via
> acceptKeyRange.  The key range I was using in Orca, which seemed to work
> around December 17, was the following:
> 
>   brlapi.KEY_CMD_ROUTE,
>   brlapi.KEY_CMD_ROUTE | brlapi.KEY_CMD_ARG_MASK

It should be

   brlapi.KEY_TYPE_CMD | brlapi.KEY_CMD_ROUTE,
   brlapi.KEY_TYPE_CMD | brlapi.KEY_CMD_ROUTE | brlapi.KEY_CMD_ARG_MASK

The reason for this change (KEY_CMD_* not including the type) is for
easily using the result of b.expandKeyCode.

Samuel


More information about the BRLTTY mailing list