Hacker News new | ask | show | jobs
by chongli 2231 days ago
The velocity and bounce effects on scrolling are implemented at the application layer. They don't depend on any unique features of the trackpad hardware or driver stack.

I didn’t say they did. Oh macOS they’re not implemented by the application though, they’re implemented by the UI APIs and thus available to all applications for free. This is not the case on Linux.

1 comments

It is the case on Linux. Both GTK and Qt have this built in for a while now:

https://developer.gnome.org/gtk3/stable/GtkScrolledWindow.ht...

https://doc.qt.io/qt-5/qscroller.html

Why it's not working on your applications is a different question.