Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.8.4
-
1b32e8d7d488e0d0b96d6d39117ff41014791105 (5.4, 29.8.2014, 5.4)
Description
In Krita we had to add this code to make it work in Qt 4.8
const uint cursorTypeBitMask = 0x0F06; // bitmask to find the specific cursor type (see Wacom FAQ) if (((csr_type & 0x0006) == 0x0002) && ((csr_type & cursorTypeBitMask) != 0x0902)) { tdd.currentDevice = QTabletEvent::Stylus; } else if (csr_type == 0x4020) { // Surface Pro 2 tablet device tdd.currentDevice = QTabletEvent::Stylus; } else { ... }
I don't know whether it is fixed in Qt5