PDA

View Full Version : QT platform Abstraction and custom input driver



Wotsgreen
5th September 2012, 09:58
I'm doing a Qt port to a new device based on the QPA (Lighthouse) interfaces.

I cannot find any documentation on how to do a custom input driver (I cannot use the standard linux keyboard driver). The only documentation I can find is based on "embedded" using QWSKeyboardHandler/QKbdDriverPlugin however when adding "-embedded mips" to configure, "-qpa" is disabled by the configure script, so the remaining QPA based integration stops compiling.

My question is: What is the right way of coding a custom input driver for QPA?

Thanks a lot for any replies ;)

wysota
8th September 2012, 06:59
I think a general solution would be to provide a listener that would read data from your input device and inject it into Qt's event loop.