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 <peter.hutterer@who-t.net>
(cherry picked from commit 2192ec192c)
This commit is contained in:
Peter Hutterer 2018-07-05 12:00:31 +10:00
parent aa668332a0
commit 106f0fd4fc
2 changed files with 7 additions and 3 deletions

View file

@ -35,6 +35,10 @@
- @subpage tablet-support
@page other_devices Other devices
- @subpage switches
@page general General
- @subpage udev_config

View file

@ -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