Subject: bug#50269: 27.2; Request: use GTK continuous scroll events for smooth touchpad scrolling

From: Eli Zaretskii <[email-masked]>
Date: Mon, 30 Aug 2021 18:57:16 +0300

> From: Alexander Huntley <[email-masked]>
> Date: Mon, 30 Aug 2021 14:35:19 +0100
> 
> When using a laptop touchpad, native GTK applications use continuous
> scroll events to give much smoother scrolling, whereas Emacs simply
> emulates the discrete scrolling events of a mouse scroll wheel. This
> makes touchpad scrolling under Emacs feel much less natural than many
> other Linux applications.
> 
> Would it be possible to expose these events to elisp and hence get nice
> pixel-perfect scrolling in Emacs?

Did you try "M-x pixel-scroll-mode RET"?  It isn't perfect, but maybe
it's "good enough" for your needs?