I use the tutorial here to set up my environment to cross-compile applications for the qvfb environment.

I also set up a custom skin, and mapped four buttons to what should be the keys "1", "2", "3", and "4".

Qt Code:
  1. [SkinFile]
  2. Up=arp_up.png
  3. Down=arp_down.png
  4. Screen=9 13 480 800
  5. Cursor=finger.png 0 0
  6. Areas=4
  7. HasMouseHover=false
  8.  
  9. "Up" 0x0031 60 866 125 930
  10. "Next" 0x0032 166 866 231 930
  11. "Down" 0x0033 270 866 335 930
  12. "Mode" 0x0034 375 866 440 930
To copy to clipboard, switch view to plain text mode 

I then made a simple GUI application with a Plain Text Area. I compiled this using my qvfb setup, and can launch the application so it runs in the qvfb buffer.

It works great, but I'm having an issue trying to use the skin's buttons. I would have expected the buttons to emulate (and override) the keyboard at this point, but when I set the focus to the Plain Text Area and click the buttons, nothing happens (I expect it to output the numbers assigned).

Were my assumptions incorrect? Did I miss a flag (or set an incorrect flag) when compiling my qvfb environment and/or application?

Also, the Internet seems to be barren of examples of this scenario--does anyone know of any examples showing how to capture the qvfb buttons and use them? I realize it will be different on real hardware, but a software prototype will suit my needs perfectly, for now.