From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: Touch events Date: Sun, 3 Sep 2017 10:14:30 +0100 Message-ID: <20170903091430.GA2903@breton.holly.idiocy.org> References: <20170624085335.GA10629@breton.holly.idiocy.org> <20170626182852.GA43847@breton.holly.idiocy.org> <20170628205027.GA74167@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1504430137 6894 195.159.176.226 (3 Sep 2017 09:15:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 3 Sep 2017 09:15:37 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) To: Emacs-Devel devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Sep 03 11:15:23 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1doQzw-0000po-Le for ged-emacs-devel@m.gmane.org; Sun, 03 Sep 2017 11:15:20 +0200 Original-Received: from localhost ([::1]:52801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doR00-0001nq-C6 for ged-emacs-devel@m.gmane.org; Sun, 03 Sep 2017 05:15:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doQzK-0001nJ-5q for emacs-devel@gnu.org; Sun, 03 Sep 2017 05:14:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doQzF-00006f-FY for emacs-devel@gnu.org; Sun, 03 Sep 2017 05:14:42 -0400 Original-Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:38801) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1doQzF-000057-7n for emacs-devel@gnu.org; Sun, 03 Sep 2017 05:14:37 -0400 Original-Received: by mail-wm0-x229.google.com with SMTP id 187so21872619wmn.1 for ; Sun, 03 Sep 2017 02:14:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=9DzI7sA5X3bEMRDfMFAEwpzVsaZ31FxOeRWl+ZC29XU=; b=HquZL2j5QYEFtJ5WxXKmR3RDypuv4w91//PvXBNiE3EIpGkLR0kADm6TPKQaXePpTD 1OZbSG8xPsVZqKfe/AqihQ6M74hZf/EYgFYfmq6isfkp/Bm+XLN6XBfjDg5Xnf9oDTD6 djZt/q/hQkzBaBKW/Lt4gY+eVxDO8VpHHgQwZ9+4X8nQtazpzEOmxP03AgsRjfaR2USY 8MWHDQWLP1hx9gfUfYVIEB5esadvorR61h1qE9zOHwgJNhFccJ5bsHiv0IQU+CHaqyXS 3u3WolmuCXUj7pvaSmcql8Bim/4c/KucXPHvsi8VtHiZZi5SHHs+DEnMJaAtCtGjTUXe yrCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=9DzI7sA5X3bEMRDfMFAEwpzVsaZ31FxOeRWl+ZC29XU=; b=TUR/a7dvul2f7ESFYoin9fnotnH71fofhMkDrH4BNSCSaH8zCIHOt6BtVdAOjI+ScL IFxOH6aXdnHePOE31hef4Y1XDZHv6dhgjsqEJOEd+a8OV5MSBsBH097AF102SEREafq4 b4TDZHrhvEQi9xGtSAxK21RQeM936gHLySWzLXDhzdJvLX8kZW35zfEDloIUZ54hvYEw +ehWcQN8OMRDmVYcWNL+gpRRQx2lr4s063Z+3AAXSZD+71n9wEblIzPTCUMl2xNI3A+V 2vp6P5RW62nAHHTsw/y+c58A+QKS19n9UC1Oj98XXhE7tIYPqa2E2tYz5prS3ndfFIO/ GpDw== X-Gm-Message-State: AHPjjUjPNe8FmANbiyOM/qK8qKG/nt+8j+JmE5Ccbfi1KLjzsMa7shP0 I7YP07S7lmqSkN7JGs8= X-Google-Smtp-Source: ADKCNb74Vrhxv7sCKsTV6cByVu4gPivedJpD400ZFSUU5qhwWwh7wdf4s0SbBDTId/WbyeVl2L0MdA== X-Received: by 10.28.54.68 with SMTP id d65mr1729301wma.37.1504430074576; Sun, 03 Sep 2017 02:14:34 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-d5ca-64a5-495a-0a85.holly.idiocy.org. [2001:8b0:3f8:8129:d5ca:64a5:495a:a85]) by smtp.gmail.com with ESMTPSA id b70sm3900532wmf.7.2017.09.03.02.14.32 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Sep 2017 02:14:32 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20170628205027.GA74167@breton.holly.idiocy.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::229 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:217911 Archived-At: On Wed, Jun 28, 2017 at 09:50:27PM +0100, Alan Third wrote: > I’ve been looking into the Xorg side of touch events and it doesn’t > have built‐in gesture support, so I think I’ll have to code that > myself. I was thinking it could maybe be worth passing the touch > events up to lisp and doing gesture recognition in it. That would, I > think, also allow us to handle touch screen devices better as we > wouldn’t have to rely on mouse emulation. I finally got round to looking at this properly and have very quickly realised it’s probably beyond me. In order to receive touch events we need to migrate to XInput2, which seems to be completely different from XInput1. I don’t know how much work would be involved as I have no experience with X programming, but I suspect it’s quite a lot. I also don’t know if it would introduce compatibility issues with older versions of X. -- Alan Third