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 19:13:44 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Po Lu <luangruo@yahoo.com> writes:

> I have no idea what they are, and as such couldn't document them.  (They
> are not related to the pixel scrolling support.)
>
> But I will try to find out.

I plan to change the mouse wheel section to the following text:

@cindex @code{wheel-up} event
@cindex @code{wheel-down} event
@item (wheel-up @var{position} @var{clicks} @var{lines} @var{pixel-delta})
@itemx (wheel-down @var{position})
These kinds of event are generated by moving a mouse wheel.  The
@var{position} element is a mouse position list (@pxref{Click
Events}), specifying the position of the mouse cursor when the event
occurred.

@var{clicks}, if present, is the number of times in quick succession
the wheel has been moved.  @xref{Repeat Events}.  @var{lines}, if
present, is the number of screen lines that should be scrolled.
@var{pixel-delta}, if present, is a pair of the form @w{@code{(@var{x}
. @var{y})}}, where @var{x} and @var{y} are the number of pixels to
scroll by in each axis.

WDYT?  Also, it seems that `lines' is only generated by the NS port, so
it should perhaps be worthwhile to mention that as well?

Thanks.


reply via email to

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