From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniele Nicolodi Newsgroups: gmane.emacs.devel Subject: Re: Mouse wheel release events? Date: Tue, 30 Nov 2021 21:18:56 +0100 Message-ID: References: <87y2562x7o.fsf.ref@yahoo.com> <87y2562x7o.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28365"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.2 To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 30 21:22:30 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ms9e2-0007Cm-Jh for ged-emacs-devel@m.gmane-mx.org; Tue, 30 Nov 2021 21:22:30 +0100 Original-Received: from localhost ([::1]:41034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ms9e1-0000yD-IE for ged-emacs-devel@m.gmane-mx.org; Tue, 30 Nov 2021 15:22:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57648) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms9ao-0005bA-Ap for emacs-devel@gnu.org; Tue, 30 Nov 2021 15:19:11 -0500 Original-Received: from grinta.net ([109.74.203.128]:38434) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ms9am-00043M-4R for emacs-devel@gnu.org; Tue, 30 Nov 2021 15:19:09 -0500 Original-Received: from [192.168.1.220] (p5dd0d2e0.dip0.t-ipconnect.de [93.208.210.224]) (Authenticated sender: daniele) by grinta.net (Postfix) with ESMTPSA id 06C86E0804 for ; Tue, 30 Nov 2021 20:18:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=grinta.net; s=2020; t=1638303538; bh=PRvNO8UZjKHd5PNxvabBlzDn39FeR3Y6LM+MUQ+U3+Q=; h=Date:Subject:To:References:From:In-Reply-To:From; b=ce8psxC1jvelKs0Bh3VrXv8yRxt+5n+STCkyeS6en+ZY34wWnIyFjRk0AoJ0CaPrg +IZxDMbiwtg4S8U0gItBBS6hA+SiAvx9naCfGj0sS94jmi8YZH6cLKXSaRx9kp8bsO Lux+U3tbKhHwcARj3r79CMXAN4LeWqGPF4OkLRmaTkjHCWKR3bzo8CfAlrFE4h0TYB XACHYufLQlGW69eJWWhoEpvwb71dn1AwC5+J82uhXRBREq8CLlRr2pQ947mV5Whyr8 ujBOm4E3V9BhqqQjIeaRAH7Rx10Mz25SJ1/Kj9nx2Cps+YD8cK02SvaYnNCYaC90Tp vGXWtI9g7BayA== Content-Language: en-US In-Reply-To: <87y2562x7o.fsf@yahoo.com> Received-SPF: pass client-ip=109.74.203.128; envelope-from=daniele@grinta.net; helo=grinta.net X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-2.211, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:280558 Archived-At: 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. Cheers, Dan