iio sensors, acceleration and gyro.

Peter Hutterer peter.hutterer at who-t.net
Mon Oct 19 15:39:11 PDT 2015


On Mon, Oct 19, 2015 at 12:20:27PM -0500, Mike Mestnik wrote:
> Hello,
>   I've been working on a project called iio-sensor-proxy, it's a
> project to take sensor readings and make them available over dbus.  I
> feel that this takes away from the generic concept that everything is
> a file.
> 
> Does this code perhaps have a better home in libinput?
> 
> https://github.com/hadess/iio-sensor-proxy

I don't think so. iio-sensor-proxy is not at the same level as libinput, and
the dbus API is there for a reason. in theory, a libinput-based solution
would be for libinput to read the sensors and have iio-sensor-proxy wrap
libinput to provide the dbus API that applications require.

That wouldn't add anything to the current solution though, it'd be mostly
code churn for little benefit. so unless Bastian requests that we add this
to libinput, I don't think this is worth pursuing.

Cheers,
   Peter


More information about the wayland-devel mailing list