How to distinguish wacom tablet generated QMouseEvent from normal ones?



  • Qt 5 has no tablet support on Windows, so I write some code to receive tablet events and convert to QTabletEvent.

    However, each of tablet events still converted into QMouseEvent in Qt internally. No tablet support just means tablet moves won't be QTabletEvent.

    This makes it difficult to write code that works with both normal mouse and wacom tablet, since all of them become QMouseEvent.

    Is there any way to distinguish them?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.