Well, I tried everything sugessted:
this is my /etc/directfbrc file:

***begining of file***
system=fbdev
mode=800x600
depth=16
pixelformat=RGB16

force-windowed

no-vt-switch
disable-module=keyboard
***end of file***

I tried it with both system=sdl & system=fbdev, to no avail.
when I ssh to my remote box and run this script, my app runs on the 
frame buffer, but I can still only get keyboard input from directfb 
(without the last 2 lines). I can not access std::cin from my remote 
shell, at all. Does it matter if my app request a keybard handle from 
dfb? Does that somehow overwrite the disable-module=keyboard or something?

Thanks in advance,
Ido Yehieli.

Denis Oliver Kropp wrote:
> Ido Yehieli wrote:
>> 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.
>
> Running in a remote shell you should be able to read the stdin of it,
> no matter if the DirectFB session on the remote host switched VTs.
>


_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to