Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to distinguish wacom tablet generated QMouseEvent from normal ones?
liuyanghejerry last edited by
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?