emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master e37eb7f: Add support for pixel wheel deltas on NS


From: Po Lu
Subject: Re: master e37eb7f: Add support for pixel wheel deltas on NS
Date: Sat, 27 Nov 2021 15:14:13 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Po Lu <luangruo@yahoo.com>
>> Cc: rpluim@gmail.com,  emacs-devel@gnu.org
>> Date: Sat, 27 Nov 2021 14:41:50 +0800
>> 
>> > Are we talking about the same thing?  I was asking about the smallest
>> > values of the deltas reported in the mouse wheel-up and wheel-down
>> > events when the user turns the wheel the smallest amount possible.
>> 
>> Ahh, I understand what you're asking now.  The smallest value reported
>> is usually to 0.01 or so, after conversion into scroll units.
>> 
>> On a reasonably sized frame that would be 1 to 2 pixels.

> Is this with a mouse wheel or with a touchpad?  I was asking about the
> mouse wheel.

This is with a mouse wheel that supports pixel values, i.e., a mouse
wheel that has no fixed "steps".  (A mouse wheel with fixed steps would
however report a value of 1.0: every XInput 2 program I tried will
scroll the close-to-100 pixels that implies on each turn of such a
wheel.)

Thanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]