How to enable touchpad pinch to zoom and coasting

What should I put in my configuration.nix to enable the pinch to zoom gesture and touchpad coasting?

By coasting I mean when the scrolling has some kind of momentum so that it continues scrolling even if the fingers have lifted off the touchpad. Are these handled by libinput?

1 Like

I think some Desktops handle this by themselves, but Iā€™m not sure. GitHub - iberianpig/fusuma: Multitouch gestures with libinput driver on Linux can handle gestures and therefore pinches if you use a window manager. But idk how to configure coasting.