SUMMARY: on basic model samsung tablets that support the s pen, such as the s6 lite, the side button is set to the middle mouse click. On a tablet (for me at least) this is not a very useful function, since most of the time this pans the view, and you can already pan with fingers. I would very much like to be able to reassign this button to a hotkey. (In my case to the set eraser mode toggle, which I use almost as much as the drawing tip). But because the button is programmed as a mouse click it cannot be assigned to a keyboard hotkey, and the kind of key it represents cannot be changed. What I would like to see is the ability to configuring which kind of key the spen is. Being able to give it a letter, any letter, would improve my workload a lot. Even setting it to some random hardcoded letter would be more useful, but a configurable option is probably best. SOFTWARE/OS VERSIONS Android 5.0.0 beta 2
Currently, it is not possible to do something like this on S6 Lite. With that being said, it is not that hard to hack Qt to support something like a “toggle to activate/deactivate eraser” config. I did some quick testing and something like this seems to work: <https://gist.github.com/sh-zam/53ccb480dc4e97f54d159ec3990c7081>. We can control it with a config inside Krita, but I’m not sure if this would be desirable, what do you think Halla?
I suggest an alternative: Adding a configuration hotkey area for the mouse. That way, hotkeys can be bound for the mouse in the same way as the keyboard. Since the pen is registered as a mouse on the tablet, I think this would be a fine workaround, no? This may be too much to ask too, but programs like Clip Studio Paint have it set so holding down the S-Pen button registers as using the eraser for only the duration of it being held. A toggle would be great, but this may be even better if it's doable. Forgive me if this is a bad place to say it, but I, too, would very much enjoy a feature like this. I just got a Galaxy Tab S7 FE and while it came with a copy of Clip Studio Paint, they only run off of a subscription-basis for tablet and I would much prefer something like Krita instead. The inability to bind the S-Pen button to a key is a pain. I just spent considerable time researching this issue on Reddit and Krita's forums (and the Krita makers page) to no avail. Wanted to give my 2 cents as someone that works in software support. :)
not going to lie i /hate/ that about clip. i always feel like i'm abusing my buttons. i'd much rather a toggle. but that's preference i suppose.
The option to assign a canvas shortcut to toggle the eraser has been added meanwhile, in 5.3 you can also toggle the eraser preset. This isn't exactly what was requested here (press button to input key), but it fulfills the desire of pressing the pen button to get the eraser, so I'll mark this done.
Created attachment 188905 [details] attachment-62363-0.html Thank you!! On Mon, Jan 26, 2026, 6:37 AM <bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=444939 > > dra.w.p.il.e+bugskde@pm.me changed: > > What |Removed |Added > > ---------------------------------------------------------------------------- > CC| | > dra.w.p.il.e+bugskde@pm.me > Status|REPORTED |RESOLVED > Resolution|--- |FIXED > > --- Comment #4 from dra.w.p.il.e+bugskde@pm.me --- > The option to assign a canvas shortcut to toggle the eraser has been added > meanwhile, in 5.3 you can also toggle the eraser preset. This isn't exactly > what was requested here (press button to input key), but it fulfills the > desire > of pressing the pen button to get the eraser, so I'll mark this done. > > -- > You are receiving this mail because: > You are on the CC list for the bug.