Quoting ???? ([EMAIL PROTECTED]): > Hello, > I have a working application based on directfb. In this application I > get keyinput by using GetInputDevice and CreateEventBuffer. Such APIs > works well. But now I want to get keycode from a serial port. How can I > do that without modify code of the application? Can I make a tool just > read data from serial and pass it the directfb's input buffer?
You should have a look at DiVine in CVS. It consists of a virtual input driver reading from a pipe and a library which can be used by any application to generate input events. There's even a "minicom-suited" send_vt102() method. -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
