Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-39571

Surface2 has a non-standard Wintab ID on

    XMLWordPrintable

Details

    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            dkazakov Dmitry Kazakov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes