From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: Emacs, touchegg and touchpad events Date: Thu, 23 Jun 2022 14:59:07 -0700 Message-ID: <25268.57899.246169.884276@retriever.mtv.corp.google.com> References: <87o7yki4u9.fsf@yahoo.com> <87iloshy7a.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31526"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, luangruo@yahoo.com, emacs-devel@gnu.org To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 24 00:03:05 2022 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 1o4Uum-00082U-IU for ged-emacs-devel@m.gmane-mx.org; Fri, 24 Jun 2022 00:03:04 +0200 Original-Received: from localhost ([::1]:56654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4Uul-0002V2-IV for ged-emacs-devel@m.gmane-mx.org; Thu, 23 Jun 2022 18:03:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4Ur9-0008JY-1g for emacs-devel@gnu.org; Thu, 23 Jun 2022 17:59:19 -0400 Original-Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:36593) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4Ur7-0001rI-6S for emacs-devel@gnu.org; Thu, 23 Jun 2022 17:59:18 -0400 Original-Received: by mail-pj1-x102f.google.com with SMTP id k12-20020a17090a404c00b001eaabc1fe5dso3919425pjg.1 for ; Thu, 23 Jun 2022 14:59:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=hPQHyidV8ng5qyjIll1pLh8B4zzTmki7U4XDagFa07g=; b=T1PIp/J3ggsrPsI2ydPfBSu8hgDzdlYJLsZrRGQY5r6MqHuz1aJFqlxdo2hBBfpGHx aULAF/D28Yir1clXQPgsFDlp6pFjGPHhlWIEUQ136+e+oqe3g7H3OFNd5JpVVwWVvPM+ TraaMcDRnjc9cUXPrRtCgMur3Il4dL0sTq3mxxSweivPOuXcv7A4xLpdi7U1pRrI47xe jXvsA9vKXsAqpL5YDaoLW2qVs5gSmS6MT/1bDHMMZ5KgafrGNAL4nP/38u1DHHBmzNbH Ut6eDsbRL1Bvsianv+E7zW2I6Q9IlY8YxrIVOQFh0d8VMqx9VVj55E9D14nAfmOWOzRQ plsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=hPQHyidV8ng5qyjIll1pLh8B4zzTmki7U4XDagFa07g=; b=0Ejq0aqUCctN4UOLbVZkfmOK0jhHw8x1AOi3lxvACBaDcF2MwyB+zjYc5STAP4u7Rc yzk/3J76KR80apGk/gENOHJHQCCf2k2lzm6mCcg5SBIGnWu9HB2O+NTQanNeDLLrwUvR Sri6R+QOmbwnF/JOJ7WJY4obMfzH7WY5aRnaAPMwYnwEO6ONVPCQOzFtw6xaF95hjb0w xFxn6uL4FtzMmmOBX0WFw9FD5u1I6BUOa5wVREg3xZQexRgirrvuYCyEPVuz3j36aSDF UtFCFSDNm6Mnlbqahg4OHbFuDqol5TP4EfilH3t2vzk4bOTNs7yCBmqk9BzQA7wWEZYP 289A== X-Gm-Message-State: AJIora+/u+Qiqqtx3Msvo7gliqyyF/2UM08146/I2YlIrHvRvav9PWl2 UKWeHyj1jfuGXEJXWZ6gf84lIsXdyVgjpg== X-Google-Smtp-Source: AGRyM1vi1681g6DMi0gedgx4o47JYwuBeWA6fl+wp2kaHhPuLJPovIEKtRSghpWjadOOHQ0HHZlxaw== X-Received: by 2002:a17:90b:4a82:b0:1ec:bb6b:38d0 with SMTP id lp2-20020a17090b4a8200b001ecbb6b38d0mr82234pjb.213.1656021553630; Thu, 23 Jun 2022 14:59:13 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([2620:0:1000:1510:20af:da78:d8d8:a3d7]) by smtp.gmail.com with ESMTPSA id c10-20020a17090a020a00b001cd4989febcsm2478346pjc.8.2022.06.23.14.59.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jun 2022 14:59:12 -0700 (PDT) In-Reply-To: X-Mailer: VM 8.1.1 under 29.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=raman@google.com; helo=mail-pj1-x102f.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 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:291543 Archived-At: Interesting. Here is what I discovered next: Start touchegg as a daemon via systemctl -- it starts happily and runs but doesn't deliver events to emacs. With that daemon running, start toucheg (as a client) from a shell in emacs, it connects to the daemon, and magically emacs gets touchpad events. So now I can scroll a buffer with a three-finger up/down swipe -- not that is in itself much of a win. The above i.e. run a touchegg client is not documented anywhere so I suspect this may be a result of my running stumpwm perhaps. Incidentally I looked through the emacs-29 touch code and it essentially does not work for me on my laptop's touchpad; the only event I can get emacs to see in that case (with no touchegg running) is the touch-end event sporadically showing up. Pinch etc dont appear to work. Stefan Monnier writes: > > Note that I'm not running a pgtk build or wayland anytime soon. >=20 > I don't think Po Lu is talking about the PGTK port but about the goo= d > old X11 version of Emacs talking to a new enough X11 server and comp= iled > with a new enough `xf86-input-libinput`. >=20 >=20 > Stefan --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮