From 106f0fd4fc11e6102e3ba8a24075e9b2230a4bf6 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 5 Jul 2018 12:00:31 +1000 Subject: [PATCH] doc: add the switches page to a "other devices" category It felt a bit lost at the bottom of the "pages" list. Signed-off-by: Peter Hutterer (cherry picked from commit 2192ec192cff234bd69ace017d3aed1a3df1349a) --- doc/page-hierarchy.dox | 4 ++++ doc/switches.dox | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/page-hierarchy.dox b/doc/page-hierarchy.dox index 6e164f53..d65c954c 100644 --- a/doc/page-hierarchy.dox +++ b/doc/page-hierarchy.dox @@ -35,6 +35,10 @@ - @subpage tablet-support +@page other_devices Other devices + +- @subpage switches + @page general General - @subpage udev_config diff --git a/doc/switches.dox b/doc/switches.dox index 3c2b1585..bdff6181 100644 --- a/doc/switches.dox +++ b/doc/switches.dox @@ -1,9 +1,9 @@ /** @page switches Switches -libinput supports a couple of switches. Unlike button events that come in -press and release pairs, switches are usually toggled once and left at the -setting for an extended period of time. +libinput supports the lid and tablet-mode switches. Unlike button events +that come in press and release pairs, switches are usually toggled once and +left at the setting for an extended period of time. Only some switches are handled by libinput, see @ref libinput_switch for a list of supported switches. Switch events are exposed to the caller, but