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

API for tablet pad button events

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.8
    • None
    • Linux/Wayland, Windows

      Many (Wacom) graphics tablets provide buttons (often referred to as "ExpressKeys"). Applications should be able to react to these buttons to do custom actions instead of relying on OS or driver-level functionality.

      On Windows this seems to be possible using the Wintab Extended API: https://github.com/Wacom-Developer/wacom-device-kit-windows/tree/master/Wintab%20Tablet%20Controls

      On Wayland this is possible with the https://wayland.app/protocols/tablet-v2#zwp_tablet_pad_v2 interface. On a basic level buttons have numbers, but some tablets also offer different button modes to allow assigning different actions per mode.

      On a low level there could be a QTabletPadEvent class that is propagated to widgets.

      On a higher level it would be nice to bind buttons to QActions, similar to keyboard shortcuts.

       

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

            srutledg Shawn Rutledge
            nicolasfella Nicolas Fella
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes