1. 14 Mar, 2018 1 commit
    • Valeriy Malov's avatar
      Update README · 968eb133
      Valeriy Malov authored
      Add missing build dependencies
      Remove line about xcb-xinput
      968eb133
  2. 07 Mar, 2018 4 commits
    • Valeriy Malov's avatar
      Get rid of extra tabs in appstream file · 6d836734
      Valeriy Malov authored
      This seems to be breaking appstreamtest on the CI
      6d836734
    • Valeriy Malov's avatar
      Add a button to launch kde_wacom_tabletfinder · 32c087a6
      Valeriy Malov authored
      Currenlty if tablet device is not in the tablet database, KCM will just
      show an error claiming that device is not supported yet. However in most
      cases you can use kde_wacom_tabletfinder to manually register the
      device, which not everyone might be aware of.
      
      Change the error message a bit and add a button to launch
      kde_wacom_tabletfinder. This is suboptimal if there are multple tablets
      connected, and one is detected, and another is not, but for now I'll
      assume this rarely happens.
      32c087a6
    • Valeriy Malov's avatar
      Warn users when they are not on X11 · 1ed5e24d
      Valeriy Malov authored
      Since the only supported platform right now is X11, show an error
      message in KCM when it's not detected
      1ed5e24d
    • Valeriy Malov's avatar
      Fix tablet finder button registration · e496bd40
      Valeriy Malov authored
      Summary:
      Replace nativeEvent with mousePressEvent and get rid of XCB code (button
      numbers are still X11 specific, though). Qt's XCB backend should have
      support for up to 31 extra button now.
      
      Keep "Cancel" button enabled all the time
      
      Button mapping also seems to cover stylus buttons, not just express
      keys, so edit the label accordingly
      
      Test Plan: kde_wacom_tabletfinder shouldn't skip button mapping part anymore
      
      Reviewers: fvogt
      
      Differential Revision: https://phabricator.kde.org/D10674
      e496bd40
  3. 06 Mar, 2018 2 commits
  4. 18 Feb, 2018 1 commit
  5. 12 Feb, 2018 1 commit
  6. 09 Feb, 2018 3 commits
    • Valeriy Malov's avatar
    • Valeriy Malov's avatar
      Bump minimal Qt version to 5.7 · 7eec0a3b
      Valeriy Malov authored
      This is the minimal Qt version for KDE Frameworks since 5.39
      This also should gurantee C++11 support
      7eec0a3b
    • Valeriy Malov's avatar
      Use output names instead of screen indices · e383b33a
      Valeriy Malov authored
      Summary:
      Screen index as an identificator can be pretty unreliable, since it can
      change during the runtime (e.g. on login when kscreen applies primary
      screen setting)
      
      Use output name (e.g. HDMI-0) everywhere instead
      
      ScreenMap: use raw ScreenSpace strings as mapping keys
      ScreenSpace: introduce method next() that cycles through screen spaces
      (monitors and whole desktop)
      TabletAreaSelectionController: store ScreenSpace instead of index
      X11Info: add helper functions to navigate through screens
      TabletDaemon: remove outdated FIXME comments
      
      Test Plan:
      the usual see if there aren't any regressions in saving/restoring settings
      inclduing Ctrl+Meta+1/2/F/M hotkeys that cycle through screens
      initially old mapping settings are going to be lost
      since map0/map1/etc. aren't valid screenspaces anymore
      
      Reviewers: xuetianweng, fvogt
      
      Differential Revision: https://phabricator.kde.org/D10274
      e383b33a
  7. 08 Feb, 2018 1 commit
  8. 03 Feb, 2018 1 commit
    • Valeriy Malov's avatar
      Fix auto-rotation in a single screen mode · 4c1006af
      Valeriy Malov authored
      Take in account that in a single screen mode we map to whole desktop
      instead of mapping to a specific screen, to allow relative mapping.
      
      This means that if we have only one screen, any screen rotation events
      should be fine, even though we're technically mapped to desktop.
      4c1006af
  9. 01 Feb, 2018 1 commit
    • Valeriy Malov's avatar
      Initial per-screen rotation handling · 5f42c217
      Valeriy Malov authored
      Summary:
      Pass screen index to TabletHandler::onScreenRotated, and check if the
      tablet is actually mapped to the screen that has been rotated.
      If no screen is specified, then auto-detect rotation using QScreen.
      
      Remove all xrandr mentions since it's not used anywhere anymore.
      Clean up X11Info class.
      
      Test Plan:
      See if there aren't any regressions
      Multi-screen rotation handling seems to be still broken
      because QScreen doesn't seem to fire rotation events
      for non-primary screens (probably https://bugreports.qt.io/browse/QTBUG-65598)
      
      Reviewers: xuetianweng, fvogt
      
      Subscribers: ngraham
      
      Differential Revision: https://phabricator.kde.org/D9719
      5f42c217
  10. 26 Jan, 2018 1 commit
  11. 23 Jan, 2018 1 commit
  12. 18 Jan, 2018 1 commit
  13. 17 Jan, 2018 1 commit
  14. 14 Jan, 2018 1 commit
  15. 07 Jan, 2018 1 commit
  16. 04 Jan, 2018 2 commits
  17. 03 Jan, 2018 2 commits
  18. 02 Jan, 2018 1 commit
    • Fabian Vogt's avatar
      Implement hotplugging on Xlib · 17d5878d
      Fabian Vogt authored
      Summary:
      Register for events using Xlib and read them using Xcb.
      This is a mixture of the method used in
      qtbase/src/plugins/platforms/xcb/qxcbconnection_xi2.cpp
      and plasma-desktop's ca7618dd6173db8a8f0e36d91a38a1d4ac7d0706
      
      BUG: 361743
      
      Test Plan:
      Restarted kded after make install, plugging and unplugging
      causes notifications.
      
      Reviewers: valeriymalov
      
      Reviewed By: valeriymalov
      
      Subscribers: valeriymalov
      
      Differential Revision: https://phabricator.kde.org/D9576
      17d5878d
  19. 01 Jan, 2018 2 commits
  20. 31 Dec, 2017 1 commit
  21. 29 Dec, 2017 1 commit
  22. 27 Dec, 2017 4 commits
  23. 07 Nov, 2017 2 commits
  24. 06 Nov, 2017 2 commits
  25. 05 Nov, 2017 2 commits
    • Valeriy Malov's avatar
      Fix my last broken commit · 3279adde
      Valeriy Malov authored
      Somehow I've lost a bracket, probably during autorebase from master?
      Also replace "KDE 4 KCM" with "KDE Wacom tablet KCM" in debian/control
      3279adde
    • Valeriy Malov's avatar
      Avoid crashing kded on wayland session · 4f96fd30
      Valeriy Malov authored
      Summary:
      check if we're running under X11 before making some X11 calls
      remove unused Wacom::X11Info methods
      use QScreen in X11Info::getScreenRotation instead of Xrandr
      fix X-KDE-Library in wacomtablet.desktop
      BUG: 369199
      
      Reviewers: rempt, abrahams, xuetianweng
      
      Reviewed By: xuetianweng
      
      Differential Revision: https://phabricator.kde.org/D7074
      4f96fd30