1. 04 Jun, 2019 3 commits
  2. 16 Apr, 2019 1 commit
    • Dmitry Kazakov's avatar
      Fix setting custom tablet mapping · 9cf5c866
      Dmitry Kazakov authored
      1) Fix support for negative offsets
      2) The setting is applied right after pressing OK in the
         configuration dialog
      3) Qt fetches this updated info after tablet proximity leave/enter
         cycle.
      9cf5c866
  3. 15 Apr, 2019 1 commit
    • Dmitry Kazakov's avatar
      Fetch tablet mapping from Wintab instead virtual screen geometry · 31c48ac7
      Dmitry Kazakov authored
      Some devices, like Microsoft Surface Pro 5, don't map tablet's
      input range to the entire virtual screen area, but map it to
      the primary display that has actual built-in tablet sensor.
      
      In such cases we should fetch actualy mapped aread from Wintab's
      lcSys{Org,Ext}{X,Y} fields and use it for cursor mapping.
      
      The patch also introduces an environment variable switch that
      falls back to the old method of mapping:
      
      QT_IGNORE_WINTAB_MAPPING=1
      
      When the variable is set, the scaling is done via virtual desktop
      area only.
      
      BUG:406520
      31c48ac7