In the latest Plasma release (6.3), we got cool drawing tablet interface in the settings.
That is very cool because I regularly use my XP-Pen Deco Pro SW and customizing its behavior (pen buttons and sensitivity, input mapping, custom keys, etc) is not something that was easily doable without third-party software before.
The second button of my pen did nothing for now, so I wanted to rebind it using the neat little graphical interface.
The pen comes with two buttons . I tried binding the two of them to separate keyboard buttons, but the Pen Button 2 never actually triggers.
When testing input, using libinput debug-events /dev/input/event16
, it shows the first physical button is well-recieved :
event17 TABLET_TOOL_BUTTON +171.404s 331 (BTN_STYLUS) pressed, seat count: 1
event17 TABLET_TOOL_AXIS +171.408s 199.86*/49.28* tilt: 13.10*/-18.90* pressure: 0.00
event17 TABLET_TOOL_AXIS 2 +171.414s 199.87*/49.77* tilt: 13.98*/-13.35* pressure: 0.00
// holding the button just makes the counter in the third column increase. I hid consecutive lines that were very similar to this one ^
event17 TABLET_TOOL_BUTTON +172.316s 331 (BTN_STYLUS) released, seat count: 0
But a press on the second physical button is actually understood as the eraser appearing and disappearing :
event17 TABLET_TOOL_PROXIMITY +76.152s 138.60/84.89 tilt: 25.20/0.00 pressure: 0.00 pen (0, id 0) proximity-out
event17 TABLET_TOOL_PROXIMITY +76.152s 138.60*/84.89* tilt: 25.20*/0.00* pressure: 0.00* eraser (0, id 0) proximity-in axes:pt btn:S
event17 TABLET_TOOL_AXIS +76.166s 138.61*/84.87* tilt: 25.32*/0.00 pressure: 0.00
// holding the button just makes the counter in the third column increase. I hid consecutive lines that were very similar to this one ^
event17 TABLET_TOOL_PROXIMITY +76.256s 138.60/84.92 tilt: 24.69/0.00 pressure: 0.00 eraser (0, id 0) proximity-out
event17 TABLET_TOOL_PROXIMITY +76.302s 138.14*/84.79* tilt: 24.69*/0.00* pressure: 0.00* pen (0, id 0) proximity-in axes:pt btn:S
So it seems I cannot remap that.
Is anyone in a similar situation, and/or managed to remap that button with the built-in drivers ? (remapping via OpenTabletDriver works)
In the end, I don’t know if that’s a driver issue, or if the kde/plasma devs can do anything for this ?
System info :
Operating System: Garuda Linux
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.2
Kernel Version: 6.13.2-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i5-12450H
Memory: 15.3 GiB of RAM
Graphics Processor: Intel® Graphics