doc: somewhat document the write_open for lid switches
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 16 Dec 2020 00:47:58 +0000 (10:47 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 16 Dec 2020 00:47:58 +0000 (10:47 +1000)
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>
doc/user/switches.rst

index 96155df23fade73ec1e64aa7fa3710ab642c9c7c..1e0e3290fd7a982ec712c2a356baf2832d4d8424 100644 (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: