From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Touchscreen support Date: Sat, 18 Dec 2021 16:46:31 +0200 Message-ID: <83y24i9diw.fsf@gnu.org> References: <87czlxkntg.fsf.ref@yahoo.com> <87czlxkntg.fsf@yahoo.com> <87mtkziwhi.fsf@yahoo.com> <87wnk3h0hn.fsf@yahoo.com> <877dc2xsjn.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4957"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 18 15:48:43 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 1myb0s-00015O-Sw for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Dec 2021 15:48:43 +0100 Original-Received: from localhost ([::1]:48768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myb0r-0004PZ-GN for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Dec 2021 09:48:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myayy-0002Tm-Jy for emacs-devel@gnu.org; Sat, 18 Dec 2021 09:46:44 -0500 Original-Received: from [2001:470:142:3::e] (port=54014 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myayy-0000Gy-4p; Sat, 18 Dec 2021 09:46:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=n1VnYm8oKRkPmaWsj4zZdauyHQ8grKQ62xxvOMxYmYw=; b=NTP6zy1zR0sw B9MOt9klZYzuB8cCetixruWk7nCkIMmEFg3ZGmdT8UTP4WURE455AKJhmF5CRo6ISm/vnyooA37Nd i+T67HZepXQ/o1BdyGe8vt32zsJzun05ZmPyqgC7fZ851+OTeHSnr0twUEFfIxET4Qcb9uYQyrpmV DOYLpMTW2rwf/nfnqW59ugH2f+TW/a80XYhUrF62JsHwTsbbCuRzHph6UfrUJI/LRqICxaSNz7R8o ZQB3djpXuTCYvoLovtjK9hFM5dkg5kvJF5TjNZpy7amm2pKzo+POPAr7OIweSoUSTZkSlwGiPygjj uV+x00pGiG2XLmwUWFDpeA==; Original-Received: from [87.69.77.57] (port=2206 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myayy-0007ZI-0Y; Sat, 18 Dec 2021 09:46:44 -0500 In-Reply-To: <877dc2xsjn.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 18 Dec 2021 08:48:12 +0100) 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:282319 Archived-At: > From: Lars Ingebrigtsen > Date: Sat, 18 Dec 2021 08:48:12 +0100 > Cc: Po Lu , > "Po Lu via Emacs development discussions." > > Stefan Monnier writes: > > >> Other cross-platform programs I examined such as Mozilla Firefox also > >> implement gesture recognition from scratch. > > > > Hmm... that sucks. Hopefully this will improve in the longer term, > > It's unlikely -- they've instead been removing what little gesture > support that originally existed, leaving it all to the applications to > figure out. (I had some rudimentary gesture support going in Emacs > about half a decade ago, and it stopped working as they removed those > bits from... was it Gnome or was it X? I forget.) > > And, yes, it sucks. FWIW, MS-Windows seems to provide higher-level abstraction for touch events, see https://docs.microsoft.com/en-us/windows/win32/wintouch/windows-touch-gestures-overview Is the plan to have xterm.c/xfns.c to generate similar higher-level events based on just the 3 basic low-level events we now have in xterm.c?