[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs touch interface

From: Anders Lindgren
Subject: Re: Emacs touch interface
Date: Mon, 4 Jan 2016 21:35:22 +0100

It would be a good idea to define the events that the different gestures should generate. That way we would reduce the risk that different implementations would come up with their own set of incompatible event names.

The only implementation I know of that define gestures is the carbon "mac" port, maybe we should use its event names as precedence? It uses `sweep-left/right/up/down', `magnify-up/down', and `rotate-left/right'.

    -- Anders

On Mon, Jan 4, 2016 at 9:10 PM, Lars Magne Ingebrigtsen <address@hidden> wrote:
Multitouch and gestures on GNU/Linux is a rather painful subject,
apparently.  If you google for it, you get a lot of outdated
information, but apparently the modern way to get access to gestures is
via a library called "geis":


Here's an example program that uses this stuff:


With geis, you have access to gestures like "three fingered drag to the
left" and "four finger pinch" which you can then map to any action you

  (local-set-key [(pinch three-fingered outwards)] 'report-emacs-bug)


Getting this stuff into Emacs looks like a bigger project than I had
thought...  and you'd need completely separate implementations on
GNU/Linux, Windows and OS X...

So I'm not going to look into this any further, I think.  The
aforementioned Touchégg program provides an external mapper from
gestures to key strokes, and I'm just going to use that for my one use
case (an Emacs-based music player).

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]