From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs touch interface Date: Mon, 21 Dec 2015 18:27:25 +0200 Message-ID: <83bn9jsr6a.fsf@gnu.org> References: <83poxzstwh.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1450715234 20473 80.91.229.3 (21 Dec 2015 16:27:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Dec 2015 16:27:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 21 17:27:09 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aB3Ii-0003cG-Eq for ged-emacs-devel@m.gmane.org; Mon, 21 Dec 2015 17:27:08 +0100 Original-Received: from localhost ([::1]:45982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB3Ih-0007NA-Mf for ged-emacs-devel@m.gmane.org; Mon, 21 Dec 2015 11:27:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB3Ia-0007Mq-Da for emacs-devel@gnu.org; Mon, 21 Dec 2015 11:27:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aB3IV-0004Hp-T4 for emacs-devel@gnu.org; Mon, 21 Dec 2015 11:27:00 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB3IV-0004Hl-Q7; Mon, 21 Dec 2015 11:26:55 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1047 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aB3IT-0006aW-FY; Mon, 21 Dec 2015 11:26:55 -0500 In-reply-to: (message from Lars Magne Ingebrigtsen on Mon, 21 Dec 2015 17:05:29 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:196608 Archived-At: > From: Lars Magne Ingebrigtsen > Date: Mon, 21 Dec 2015 17:05:29 +0100 > MailScanner-NULL-Check: 1451318731.00822@tRAfIdootzhcGiYHQiEzSg > > Lars Magne Ingebrigtsen writes: > > > X doesn't seem to when I try on a non-tweaked Ubuntu installation. I've > > googled this a bit, and it seems like it might be possible to have X > > deliver other events than the default one. I'll investigate and see > > what I find out... > > That is, by default X under Ubuntu doesn't deliver any touch events at > all -- it just emulates a mouse, so a "swipe up" just selects a region > of text. That's exactly what I meant -- emulation. On MS-Windows, panning generates horizontal and vertical scroll messages (as if the user used the scroll bars), zooming generates Ctrl+mouse-wheel, taps generate mouse clicks, pressing and holding generates a right-click mouse event, etc. The only gesture that doesn't get any emulation is rotation, AFAICT. See https://msdn.microsoft.com/en-us/library/windows/desktop/dd940543%28v=vs.85%29.aspx for the details. I assume X can do something similar, it would be silly not to.