[PATCH libinput 0/8] Add libinput_device_suspend() to disable devices

Peter Hutterer peter.hutterer at who-t.net
Thu Aug 21 19:54:42 PDT 2014


On Thu, Aug 21, 2014 at 06:35:57PM -0700, Bill Spitzak wrote:
> Seems to me you only need two states: what you call disabled and what you
> are calling "smart disable".
> 
> The fully disabled is so a button the hardware does not know about can
> disable the device. Or a wayland compositor could use a mouse being added to
> disable the device.

the compositor doesn't know which device is a mouse, which devices are
virtual, or even if the touchpad is an external touchpad (which wouldn't
need that feature).

> But the "smart disable" sounds like part of the device driver / libinput
> driver, just like palm detection. There is no reason to turn it off. Maybe
> to "tune" it but that would require a much more complex api.


More information about the wayland-devel mailing list