[BRLTTY] Re: Hopefully last brlapi change
Willie Walker
William.Walker at Sun.COM
Sun Feb 11 10:52:53 EST 2007
Thanks for the heads up. I'm finally to the point where I can do this.
>From your snippet below, commands look easy to handle.
How do I handle cursor routing keys?
Thanks!
Will
Samuel Thibault wrote:
> Hi,
>
> Yes, breaking things again, but we believe it will be useful in the long
> run: brlapi now only provides acceptKeys(), which takes a range type and
> an array of values. For instance in Python:
>
> b = brlapi.Connection()
> b.enterTtyMode()
> b.ignoreKeys(brlapi.rangeType_all,[0])
> b.acceptKeys(brlapi.rangeType_command, [brlapi.KEY_TYPE_CMD|brlapi.KEY_CMD_HOME, brlapi.KEY_TYPE_CMD|brlapi.KEY_CMD_WINUP, brlapi.KEY_TYPE_CMD|brlapi.KEY_CMD_WINDN])
>
> Samuel
>
More information about the BRLTTY
mailing list