Hi Barakha.

At startup, DirectFB tries to detect input devices based on a few simple rules.

If your device is supported by TSLIB, you have to make sure the node is "/dev/input/event%d" with %d some number, or add some configuration in directfbrc to point to the right device node.

If you are using a non-standard device you might need to write a device driver yourself, check the "inputdrivers" directory in the DirectFB sources - make sure you add DFB_INPUT_DRIVER( yourname ) and implement the InputDriverFuncs from src/core/input_driver.h, then you can create a thread to monitor incoming events, which you dispatch to DirectFB using dfb_input_dispatch().

An alternative approach is to use the add-on library of "Divine", and write a standard linux app which reads the remote using this library - Divine will make sure the events end up inside of DirectFB.

Greets
Niels

barakha kelkar wrote:
I have built directFb application on target (Board specifications are: SMP8652 Sigma Platform)
I can run dvd with amptest application on target.

Our problem is as follows:
When I boot target.,I can operate with remote (say x). Now when I run directfb application, this remote x stops working & I need to to use another remote say y.

Now I want make remote control x functional on directfb?

How I can do that?
Using directfb api's , is it possible to do so?
What should be exact procedure ?

Regards
Barakha
------------------------------------------------------------------------

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


--

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to