[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs Master d277123f4bf] pixel-scroll-precision-scroll-up-page fee
From: |
Po Lu |
Subject: |
Re: [Emacs Master d277123f4bf] pixel-scroll-precision-scroll-up-page feels pause, but pixel-scroll-precision-scroll-down-page is smooth |
Date: |
Wed, 04 Sep 2024 10:32:21 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
JD Smith <jdtsmith@gmail.com> writes:
> Interesting, I actually hadn't seen those new wheel-up/down
> PIXEL-DELTA values. They come straight from the system?
Yes. They're provided by the X Input Extension on X, for example.
> pixel-scroll-precision has its own elisp-based "driver". So all the
> momentum/interpolation code in pixel-scroll is effectively to allow
> low resolution mice to simulate high scroll event rate trackpads?
The momentum code is not, but the interpolation is. Momentum enters
into effect when the system notifies Emacs that precision scrolling has
ceased and `pixel-scroll-precision-use-momentum' is enabled.