[Solved] Custom mouse acceleration curve on Sway
Does anyone know how to set a custom mouse acceleration curve on Sway? man sway-input does mention mouse acceleration but unfortunately it's one of those "you won't learn anything new unless you already knew it before" type of manpage.
I also found this project https://github.com/N-R-K/leetmouse which I will probably use in the end but I would also like to hear if anyone of you has any experience with custom acceleration profile, in case there is a better way or whatever.
Edit: I will use leetmouse (different branch tho), because libinput's acceleration is not very good for gaming (see comments for sources)
2 replies
IIRC the acceleration curves supported by Sway are the same as libinput, at least that's how I understood the poor pieces of Dokumentation I found [1]. I don't think think libinput supports offsets and upper limits, so it's not really useful for gaming.
I'd recommend going with leetmouse, which does work well (altough I don't use it anymore).
leetmouse by systemofapwne is more up to date and includes the PR of N-R-K [2].
[1] https://wayland.freedesktop.org/libinput/doc/latest/pointer-acceleration.html#ptraccel-profile-custom
[2] https://github.com/systemofapwne/leetmouse
Ok thanks for the reply. I will try that. I probably should have noticed the "this branch is 7 commits behind" notice lol.