Skip to content
Snippets Groups Projects

tablet: add support for relative dials

Merged Peter Hutterer requested to merge whot/wayland-protocols:wip/tablet-rel-dials into main

Some tablets provide one or more rotary controls (see e.g. the Huion Inspiroy Dial 2) that provide delta information effectively equivalent to a mouse wheel. Expose those in the same way as the strip or ring controls, with the event matching the wl_pointer.axis_v120 approach.

Like a typical mouse wheel we do not expect there to be a source information, so this is left out of the interface.


This are the two easy parts of !285 factored out, scrolling is a whole different beast.

Implementations:

ACKS:

Review:

Edited by Jonas Ådahl

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Jonas Ådahl
  • Jonas Ådahl
  • Peter Hutterer added 2 commits

    added 2 commits

    • c496cd0f - tablet: add a bustype event to the initial burst of tablet events
    • c1814899 - tablet: add support for relative dials

    Compare with previous version

  • added 1 commit

    • 6154479a - tablet: add support for relative dials

    Compare with previous version

  • Peter Hutterer resolved all threads

    resolved all threads

  • Author Maintainer

    ftr, both mutter and gtk now have a positive review so at least those two would be good to go.

  • Note that I'm adding preliminary support for this in KWin with https://invent.kde.org/plasma/kwin/-/merge_requests/3512, I haven't added support for this addition to the protocol yet but it would be trivial.

    Edited by Joshua Goins
  • Peter Hutterer added 49 commits

    added 49 commits

    • 6154479a...122a47a1 - 46 commits from branch wayland:main
    • 9243d58b - tablet: bump the tablet protocol version
    • e4d5414a - tablet: add a bustype event to the initial burst of tablet events
    • 14bc4a73 - tablet: add support for relative dials

    Compare with previous version

  • Nicolas Fella
  • Simon Zeni
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading