Hi Mario,

Beware, you used the old address for the list.
The new address is [email protected]

Mario Lang (2017/07/23 00:12 +0200):
> Hi.
> 
> Does anyone know if Raw keycode mode of BrlAPI does still work?  Here,
> calling brlapi__readKey after brlapi__enterTtyMode with "HandyTech" as
> the driver string seems to block forever, while "" as driver string
> gives me command keys as expected.

Did it work in the past or is that your first attempt with this driver?

> I know the number of users of raw
> mode might be near to nothing, so I am sort of guessing it might have
> been broken somewhere in the past?

Actually, it seems the HandyTech driver does not support delivering raw
key codes yet. It should define the BRL_HAVE_KEY_CODES macro and
implement the brl_readKey and brl_keyToCommand methods.

What I find strange, though, is that you do not get a proper error from
BrlAPI. Normally, if you try to enter in raw keycode mode with a driver
that does not support it, you should get an oeration not supported
error, I think.

> Also, now that we have symbolic key names, I wonder, is there any
> possibility to create some sort of "hybrid" raw mode for BrlAPI, which
> would return key names and press/release status?

Samuel and I should probably think about it, indeed.

Shérab.
_______________________________________________
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://brltty.com/mailman/listinfo/brltty

Reply via email to