mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 04:30:06 +01:00
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:
parent
306b00a19d
commit
8c5a850d39
1 changed files with 4 additions and 2 deletions
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue