Summary: | Feature to map pen buttons to keys / sequence of keys or commands | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Chris <inkbottle007> |
Component: | kcm_tablet | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | aleixpol, james, josh, natalie_clarius, nate, nicolas.fella, raghu |
Priority: | NOR | ||
Version: | 5.25.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
X11 Wacom stylus settings
Screenshot showing tablet button mapping from old kcm Plasma Wayland 6.0.3 Drawing Tablet KCM |
Description
Chris
2022-08-08 17:06:41 UTC
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! |