[Top][All Lists]

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

Re: Mouse wheel release events?

From: Po Lu
Subject: Re: Mouse wheel release events?
Date: Wed, 01 Dec 2021 08:51:11 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Daniele Nicolodi <daniele@grinta.net> writes:

> On 30/11/2021 03:28, Po Lu wrote:
>> Some mouse wheels generate special events when the user moves his finger
>> off the wheel, even if the wheel was not previously clicked.
>> These events are used by most applications to start inertial
>> scrolling,
>> support for which I would like to add to Emacs.
>> I want to add a `wheel-release' event that is sent every time Emacs
>> receives such an event from the mouse wheel.  Is that okay?

> Which environment gives applications access to this kind of events? I
> think on (modernish) GNU/Linux these would be handled by libinput
> directly, relieving the application from the duty of handling these.

The X Input Extension generates special kinds of motion events along
with a whole class of touch events for this kind of device event.

It does not perform any further processing on them.

reply via email to

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