[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libinput support in Eamcs?
From: |
Alan Third |
Subject: |
Re: libinput support in Eamcs? |
Date: |
Mon, 6 Aug 2018 22:28:35 +0100 |
User-agent: |
Mutt/1.10.0 (2018-05-17) |
On Mon, Aug 06, 2018 at 04:55:45PM +0200, Lars Ingebrigtsen wrote:
> But apparently, Linux is moving away from the older input libraries
> (synaptics for touchpad and libev for general events) and to libinput,
> both on X and Wayland. From what I understand, it's deemed to be The
> Future.
>
> (Please correct me if I misunderstand.)
That is my understanding too.
> And this is really low-level, so we'd have to write higher-level
> function to translate this all to sensible events.
This is what really put me off trying to use libinput2 directly. I
thought the best option is to use GTK, which might need to be a native
port to GTK, as Emacs currently ignores GTK’s event handling
completely.
That clearly doesn’t help with other X toolkits, but I believe it
would provide us with a similar set of basic touch events on X,
Wayland, macOS and (I think) Windows.
Although writing a GTK port just for touch events seems a little
excessive.
--
Alan Third