Everything I see is for dedicated drawing tablets and their pens, so maybe I’m just super missing something.
New to Linux, using Fedora 42 with KDE Plasma on a Framework 12. Using a microsoft surface slim pen no clip. I can remap the buttons of the stylus in the settings, but regardless of what I do, it just doesn’t change anything. All I get is left click when I tap the screen (wanted behavior) and middle click if I hold the side button and tap (what I want to change.) Eraser works, but I remember that being kinda immutable as a keybind so that’s fine.
If this is a bug, what information do I need to give in my bug report? any console/debugging reports I should generate?
Yes, please do libinput list-devices (you may have to use sudo.) We only need the lines about the pen too, if it’s too long.
This is the internal data model our compositor propagates to our KCM. It’s also possible that the pen emits something on it’s own (usually an emulated key event or something similar) and that can be debugged using libinput debug-events and seeing if anything pen-related shows up.
Okay, awesome, will collect that information and create a bug report. I’ve also saved a few outputs of libinput recordthat are only the pen inputs, so I’ll toss those in as well since I believe that’d be the same information as debug-events.
I’ll also add, since it seems to be your project, I actually downloaded the ktabletconfig package and tried to rebind the stylus button that way, but trying to list devices there gives an error that ktabletconfig couldn’t find any connected styluses.
Anyway, I’ll go make that report now. Hope it’s a simple solution.
That’s interesting that ktabletconfig failed to find them, but it’s still listed in the KCM! It’ll probably become clearer to me once you file the bug report though