doc: somewhat document the write_open for lid switches

Not a full documentation but slightly more information than before. This is
too niche to document it fully, we're only using it on one device anyway.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2020-12-16 10:47:58 +10:00
parent 306b00a19d
commit 8c5a850d39

View file

@ -34,9 +34,11 @@ This handling of lid switches is transparent to the user, no notifications
are sent and the device appears as enabled at all times.
On some devices, the device's lid state does not always reflect the physical
state and the lid state may report as closed even when the lid is physicall
state and the lid state may report as closed even when the lid is physically
open. libinput employs some heuristics to detect user input (specificially
typing) to re-enable the touchpad on those devices.
typing) to re-enable the touchpad on those devices. Where input is detected,
libinput updates the lid status of the kernel device so other consumers of
the kernel events also get the accurate state.
.. _switches_tablet_mode: