mercredi 16 avril 2014

QT - C++ QT4 conversion d'une chaîne à keycode ? -Débordement de pile


I'm attempting to build a virtual keyboard using QT Embedded. I'm using QWSServer::sendKeyEvent() to send a key press which expects the unicode value of the key. Is there an easy way of converting from a string ("A" for example) to its key press value?


Thanks



I'm attempting to build a virtual keyboard using QT Embedded. I'm using QWSServer::sendKeyEvent() to send a key press which expects the unicode value of the key. Is there an easy way of converting from a string ("A" for example) to its key press value?


Thanks


0 commentaires:

Enregistrer un commentaire