Benjamin
16th February 2009, 12:54
Hi all,
I need an information regarding writing a keyboard pluggin for qtopia 4.3. My device has pretty keypad. It has four navigational keys and a center key. I have explored an example of for writing a keypad plugin that I have found on this link http://doc.trolltech.com/qtopia4.3/tut-deviceexample.html and I pretty much understand how it forks.
What I do not understand is when QSocketNotifier see that there is some thing on /dev/input/event0 it calls read function. I presume that my driver needs to have a read function implemented or I am wrong. I do not know what I need to put in my driver read function and what I need to return to QSocketNotifier.
Any example is welcomed.
Regards,
Benjamin
I need an information regarding writing a keyboard pluggin for qtopia 4.3. My device has pretty keypad. It has four navigational keys and a center key. I have explored an example of for writing a keypad plugin that I have found on this link http://doc.trolltech.com/qtopia4.3/tut-deviceexample.html and I pretty much understand how it forks.
What I do not understand is when QSocketNotifier see that there is some thing on /dev/input/event0 it calls read function. I presume that my driver needs to have a read function implemented or I am wrong. I do not know what I need to put in my driver read function and what I need to return to QSocketNotifier.
Any example is welcomed.
Regards,
Benjamin