Note:
Linux'es generally go in different flavors, mainly in terms of default Desktop Environment, like KDE, XFCE and LXQT.
While amog DE's KDE is probably the best in terms of HiDPI scaling and touchpad support (useful for laptops), it is also quite resouce-heavy and can be more easily broken because of its complexity.
The lightest DE's on the ther hand, have varying degrees of touchpad support.
On my personal laptop though i hacked life and just use a DE which DOESN'T REQUIRE MOUSE AT ALL ^_^ (dwm). And it is probably _the_ lightest DE (comprised of around 4 .c files.)