I'm trying to create an Android game controller to make a Super Mario clone, just to learn programming and practice:

The next problem stopped me. I touch the screen with my first finger. While holding the first finger, I touch and release the second finger. I expect that when I release the second finger, the Qt Creator debug console should display:
TouchUpdate 2 TouchUpdate 1 void OpenGLWindow::touchEvent(QTouchEvent *event) { switch (event->type()) { case QEvent::TouchBegin: { qDebug() accept(); break; } case QEvent::TouchUpdate: { qDebug()
Источник: https://stackoverflow.com/questions/780 ... englwindow
Мобильная версия