unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Daniele Nicolodi <daniele@grinta.net>
Cc: emacs-devel@gnu.org
Subject: Re: Mouse wheel release events?
Date: Wed, 01 Dec 2021 08:51:11 +0800	[thread overview]
Message-ID: <875ys92lmo.fsf@yahoo.com> (raw)
In-Reply-To: <d095a6f4-15d0-cdcd-966c-14e912079547@grinta.net> (Daniele Nicolodi's message of "Tue, 30 Nov 2021 21:18:56 +0100")

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	other threads:[~2021-12-01  0:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87y2562x7o.fsf.ref@yahoo.com>
2021-11-30  2:28 ` Mouse wheel release events? Po Lu
2021-11-30 15:24   ` Eli Zaretskii
2021-12-01  0:50     ` Po Lu
2021-12-01 13:06       ` Eli Zaretskii
2021-12-01 13:31         ` Po Lu
2021-12-01 13:48           ` Eli Zaretskii
2021-12-02  2:17             ` Po Lu
2021-11-30 20:18   ` Daniele Nicolodi
2021-12-01  0:51     ` Po Lu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875ys92lmo.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=daniele@grinta.net \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).