Thank's Richard,
but IDirectFBInputDevice, at least according to manual
(http://www.directfb.org/docs/DirectFB_Reference/IDirectFBInputDevice.html)
seems to only have a method for reading a single key at a time
(GetKeyState). Can't I get a normal stdin-like interface, for reading
entire lines?
Also, this program has to run on a machine that does not yet have
any input to it, all input is given by telneting to it - so I _have_ to
use the vt my app was started on.
Thanks in advance,
Ido.
Unger Richard wrote:
> Hi!
>
> By default DirectFB switches to a new vt - you can read from stdin, but your
> Keyboard is no longer connected to the vt your app was started on, so you
> won't read any input from stdin.
> You need to use DirectFB's input layer.
>
> Richard
>
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] Im Auftrag von
>> Ido Yehieli
>> Gesendet: Mittwoch, 29. März 2006 14:24
>> An: [email protected]
>> Betreff: [directfb-users] using stdin with directfb
>>
>> Hi,
>> I'm trying to get data from stdin while running
>> directfb, can it be done, or must I use IDirectFBInputDevice?
>>
>> Thanks in advance,
>> Ido Yehieli.
>>
>>
>>
>> _______________________________________________
>> directfb-users mailing list
>> [email protected]
>> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>>
>
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users