I didn't mention this in my comment, but i use wayland on linux and i've found the touchpad experience to be nicer there compared to X11, even though both X11 and wayland sessions for Gnome use libinput. I don't know much about libinput to know why I feel a difference in my touchpad experience between X11 and wayland.