Hi,

It looks like after opening connection and entering tty mode, need to
perform at least *one write* *first* to do subsequent read/write
operations. Is this expected. I used Focus14 in *Windows* with BRLTTY
4.5dev rev 5477 [http://mielke.cc/brltty/] code from svn.  But when I do
the same with a 'Virtual Keyboad' it is not an issue.

Code Structure :

// With out the following write it will not read anything and there is

// no log entry even specific to read key even of the keys are pressed.

// brlapi_writeText(0, " DUMMY START");
while(1) {
   if (brlapi_readKey(0, &key) > 0) {                //Not waiting
         //Just print.
   }
  Sleep(300);
}

Can you please suggest if it is a defect and the resolution.

Thanks,
Siju 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

Reply via email to