doc: Expound on inputattach service.

* doc/guix.texi (Miscellaneous Services): Expound documentation of
inputattach service.
This commit is contained in:
Ludovic Courtès 2019-03-18 10:22:57 +01:00
parent 5ddf98dadd
commit 62b86d66fd
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 21 additions and 9 deletions

View File

@ -22506,19 +22506,31 @@ resolution when the graphical console window resizes.
@cindex inputattach @cindex inputattach
@subsubheading inputattach Service @subsubheading inputattach Service
@deftp {Data Type} inputattach-configuration @cindex tablet input, for Xorg
@table @asis @cindex touchscreen input, for Xorg
@item @code{device-type} The type of device to connect to. The @uref{https://linuxwacom.github.io/, inputattach} service allows you to
@item @code{device} The device file to connect to the device. use input devices such as Wacom tablets, touchscreens, or joysticks with the
@item @code{log-file} The file to log messages to. Xorg display server.
@end table
@end deftp
@deffn {Scheme Procedure} inputattach-service-type @deffn {Scheme Variable} inputattach-service-type
Return a service that runs inputattach on a device and Type of a service that runs @command{inputattach} on a device and
dispatches events from it. dispatches events from it.
@end deffn @end deffn
@deftp {Data Type} inputattach-configuration
@table @asis
@item @code{device-type} (default: @code{"wacom"})
The type of device to connect to. Run @command{inputattach --help}, from the
@code{inputattach} package, to see the list of supported device types.
@item @code{device} (default: @code{"/dev/ttyS0"})
The device file to connect to the device.
@item @code{log-file} (default: @code{#f})
If true, this must be the name of a file to log messages to.
@end table
@end deftp
@subsection Dictionary Services @subsection Dictionary Services
@cindex dictionary @cindex dictionary
The @code{(gnu services dict)} module provides the following service: The @code{(gnu services dict)} module provides the following service: