This is meant as a follow up on https://bugs.kde.org/show_bug.cgi?id=433045#c23 and https://bugs.kde.org/show_bug.cgi?id=433045#c18 I'm using a tablet-pc, Z20t-C, that I want to use tablet only mode, without external keyboard, like an ipad. This device has a plain wacom stylus, which could really ease the transition, since it has buttons, those buttons are readily recognized by libinput-wayland, they could be used as substitute to not having a mouse. I've had opportunity to try Gnome configuration tool, it does recognize the stylus buttons, and suggest using them as mouse click. Using `libinput debug-events` I can see `TABLET_TOOL_BUTTON` is working. This event is sent when I use the pen/stylus button. It would be nice to have this functionality implemented in systemsettings. Note: I'm using as much wayland as possible and as little of legacy x11 as possible. So I do not have access to any legacy tool. Note: every functionality of Krita regarding the wacom digitizer and stylus are working fine. Krita itself however is not really usable, because in the face of not having access to mouse clicks and/or keyboard shortcuts, I quickly get stuck and have to give up.
What's the bug exactly? In Plasma the stylus isn't recognized as a click? Or something else? Or are you looking for a configuration interface for something? If so, for what? For the buttons on the stylus? Or something else?
Basically what is asked for is a Wayland equivalent of the stylus settings in the X11 Wacom KCM, which allows to bind pen buttons to arbitrary mouse/key presses
Created attachment 151209 [details] X11 Wacom stylus settings
FWIW I'm probably going to work on this (and button remapping as well) soon
I guess there is another aspect to this. There are two cases to consider: - When an application has native tablet support KWin gives it the "raw" tablet events - When the application does not natively support tablet input then KWin emulates mouse events, i.e. left mouse button down when pressing and left mouse button up when lifting the pen. However it does no such emulation for the pen buttons. Perhaps we should emulate middle/right mouse button clicks by default in that case
Should I file a different report for button mapping on the tablets as well? or is it okay to bundle all the buttons on pen and tablet in here?
Adding screenshot of the
Created attachment 151214 [details] Screenshot showing tablet button mapping from old kcm
It's implemented for tablet buttons already for Plasma 5.26.
Can we test it in neon? Is it in the same settings kcm? Thanks
Yes
Created attachment 168122 [details] Plasma Wayland 6.0.3 Drawing Tablet KCM I'm a little confused on the status of this. I have a Cintiq so I don't have any Tablet Buttons, only the buttons on my stylus. I can't evaluate whether that has been done, but comments from 2022 suggest they have been. When I look at the Drawing Tablet KCM in Plasma 6.0.3, I see three "Tool Buttons". This seems pretty similar to the X KCM screenshot Nicolas Fella provided. However, there is no image of the Stylus on the Wayland KCM. The image is really useful, because it clearly displays where on the stylus the Buttons are located. I need to guess on Wayland. Additionally, I can't seem to find a way to bind the Tool Buttons to mouse presses like Middle Mouse button or Left Mouse button as shown in Nicolas Fella's X screenshot: https://bugs.kde.org/attachment.cgi?id=151209 So: * Need a graphic of the pen with button numbers labelled * Need to be able to map mouse presses to stylus I think that's it? I've uploaded an attachment of what the current settings look like in 6.0.3.
Sorry I only saw this issue today: > I'm a little confused on the status of this. I have a Cintiq so I don't have > any Tablet Buttons, only the buttons on my stylus. I can't evaluate whether > that has been done, but comments from 2022 suggest they have been. It has been, Aleix implemented this a while back in some 5.x version. > When I look at the Drawing Tablet KCM in Plasma 6.0.3, I see three "Tool > Buttons". This seems pretty similar to the X KCM screenshot Nicolas Fella > provided. However, there is no image of the Stylus on the Wayland KCM. The > image is really useful, because it clearly displays where on the stylus the > Buttons are located. I need to guess on Wayland. Yes this is a big deficiency and tracked in https://bugs.kde.org/show_bug.cgi?id=477750. I hope to tackle it by the end of the year, now that other features are getting merged. > Additionally, I can't seem to find a way to bind the Tool Buttons to mouse > presses like Middle Mouse button or Left Mouse button as shown in Nicolas > Fella's X screenshot: https://bugs.kde.org/attachment.cgi?id=151209 This is now implemented and will appear in Plasma 6.2!