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)

https://github.com/systemofapwne/leetmouse