Hello Stefano,
I have an application here with a TFT LCD and a 6X4 membrane keyboard connected to GPIO pins of my ARM board.Although I am able to sense the keyboard but I am not sure how to force Qt widgets(QPushbuttons) to respond to keypress events?I have Qtopia 4.3.3 installed here.
I chanced upon this thread while looking for solution to my problem.....It was great reading and info.I would like to know some more things..In my case the Qt is configured for USB keyboard support(if I am not wrong.....because I can type text on the TFT through a USB keyboard).
My device has a different mechanism for buttons events handling respect to the one of the device the driver 'qkbdvr41xx_qws' was designed for. This of course didn't work.
So I changed completely that part of code, the function 'readKeyboardData', accordling to the indication that the developers of the device have got me. I can't publish it in detail, I can only say that it is a while cycle that run continuosly listening the events that occures.
I presume that you recompiled Qt with
-qt-kbd_vr41xx
option and then edited the readKeyboard() functions of qkbdvr41xx_qws.cpp file?Please correct me if I am wrong.
Actually I wanted to know if the same procedure will work for me too.
My questions are:
1)how do I sense whether Qt in my case is configured for kbd_vr41xx or not?Can you elaborate a bit on vr41xx device?What is its interface like?
2)Can I know a bit about your joystick key interface with the ARM borad?Was it a USB interface or normal GPIO pins interface?
I have been banging my head on this for a week but I am still stuck.Hope you can help me out with this.