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
Attachments
For Gerrit Dashboard: QTBUG-39571 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
89475,2 | Windows: Detect Surface Pro 2 tablets. | dev | qt/qtbase | Status: ABANDONED | 0 | 0 |
93415,3 | Windows: Detect Surface Pro 2 tablets. | 5.4 | qt/qtbase | Status: MERGED | +2 | 0 |
93437,1 | Windows: Detect Surface Pro 2 tablets. | 5.3 | qt/qtbase | Status: ABANDONED | 0 | 0 |