[Available until the end of 2024] Mouse gestures support on Plasma 6 Wayland

Hi all! Quick progress update. I have forked @jinliu’s Spotlight effect for KWin as a base to work from, and modified it to prototype a mouse gesture recognizer. I have also adopted code from wstroke, in particular the core stroke recognition functionality that its author took from EasyStroke and cleaned up a tiny bit. The result is a minimally viable proof of concept which demonstrates that the input device grabbing, stroke recognition, and “make regular RMB clicks work again” parts can be implemented by a KWin effect.

Note that this has no value for end users yet: Jakob Petsovits / Strokognition · GitLab

Before it’s anywhere close to usable, we’ll want to think and consult about how to deal with configuration and actions. And also replace the spotlight effect around the mouse cursor with a nice painted trail that makes more sense for this kind of thing. And then we’ll still want the various extra features listed in @fusionfuture’s original post.

A crafty developer could probably add some hardcoded gestures and emulated key presses to this with not too much work, and call it a day. But that’s not what I’m here for. Plenty more work needed to actually make it great and configurable for end users.

11 Likes