[PATCH libinput] Add our own version of linux/input.h

Thiago Macieira thiago at kde.org
Tue Jun 3 00:06:40 PDT 2014


Em ter 03 jun 2014, às 16:56:35, Peter Hutterer escreveu:
> On Mon, Jun 02, 2014 at 10:01:20PM -0700, Thiago Macieira wrote:
> > Em ter 03 jun 2014, às 08:08:15, Peter Hutterer escreveu:
> > > Avoids having to #define any values we're trying to use.
> > > 
> > > Header file is from Linux 3.15-rc8.
> > > 
> > > Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> > 
> > Wouldn't this be time as well to start using a different include than
> > <linux/input.h>?
> 
> does it matter much? #include <linux/input.h> makes it clear which header it
> is, that we ship our own doesn't really change that.

I think we should start moving away from a linux/ header. If Wayland gets run 
on other OS, this header would mean "it happens to be the same values, but 
it's not really a Linux header".
-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358



More information about the wayland-devel mailing list