Hello,

I am trying to develop a touchpad and I would like to use sendKeyEvent from class QWSServer. I have created a public slot when a press a button. The form only have a button and QLineEdit. But when I press button nothing appear in QLineEdit.

Qt Code:
  1. void Touchpad::press_key_0()
  2. {
  3.  
  4. QWSServer::sendKeyEvent ( 30 , Qt::Key_0, 0, true, false );
  5. QWSServer::sendKeyEvent ( 30 , Qt::Key_0, 0, false, false );
  6. }
To copy to clipboard, switch view to plain text mode 
I am looking for infromation about it, but I can not find correct information.

Best reagards