On 19/11/2008 9:29 PM, Thijs Koerselman wrote: > I have a listener attached to the window, so if I pass the correct > arguments to enterTtyMode() I should receive the button callback though > my window handler so there is no need to call the readKey() method > anymore, right? As far as I know, there's no way to be notified of brltty events in Windows. If I understand correctly, you would need to have a handle to the pipe which you place in a call to WaitForMultipleObjects or the like. Unfortunately, the brlapi client only exposes the handle used to read from and write to the pipe. I think we need access to the actual pipe object to get a handle which can be waited on. Any corrections welcome, but I did look into this quite a bit. Trust Microsoft to make it overly complicated...
-- James Teh Email/MSN Messenger/Jabber: [EMAIL PROTECTED] Web site: http://www.jantrid.net/ _______________________________________________ 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
