Files
glfs/shareddeps/dps/x/libevdev.xml
Zeckmathederg b6e0053e6a *: Remove <application> tags.
The application tag seemed to just put an extra space on either side of
the word(s) the tags surrounded and seemed to serve no purpose beyond
that. If it served the purpose of jhalfs, well this book is not
supported by jhalfs. The result of the tags just added space in both the
rendered output and in the XML files.

Now, when referring to a package name, we just say the name and don't
surround it via a tag. The only exception is using <command>,
<filename>, <xref>, or <ulink>.
2025-07-17 13:32:36 -06:00

195 lines
5.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../../general.ent">
%general-entities;
<!ENTITY libevdev-download-http "https://www.freedesktop.org/software/libevdev/libevdev-&libevdev-version;.tar.xz">
<!ENTITY libevdev-download-ftp " ">
]>
<!-- Begin Xorg libevdev Driver -->
<sect2 id="libevdev" xreflabel="libevdev-&libevdev-version;">
<sect2info>
<date>$Date$</date>
</sect2info>
<title>libevdev &libevdev-version;</title>
<indexterm zone="libevdev">
<primary sortas="a-libevdev">libevdev</primary>
</indexterm>
<sect3 role="package">
<title>Introduction to libevdev</title>
<para>
The libevdev package contains common
functions for Xorg input drivers.
</para>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&libevdev-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&libevdev-download-ftp;"/>
</para>
</listitem>
</itemizedlist>
</sect3>
<sect3 role="kernel" id="libevdev-kernel">
<title>Kernel Configuration</title>
<para>
Enable the following options in the kernel configuration and recompile
the kernel if necessary:
</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="libevdev-kernel.xml"/>
<indexterm zone="libevdev libevdev-kernel">
<primary sortas="d-libevdev">libevdev</primary>
</indexterm>
</sect3>
<sect3 role="installation">
<title>Installation of libevdev</title>
<para>
Install libevdev by running the following
commands:
</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson setup .. \
--prefix=/usr \
--buildtype=release \
-D documentation=disabled \
-D tests=disabled &amp;&amp;
ninja</userinput></screen>
<para>
The regression tests can be run as the <systemitem
class="username">root</systemitem> user with <command>ninja
test</command>, in a graphical session. You need to have enabled
the CONFIG_INPUT_UINPUT setting in the kernel for full test coverage.
If it is enabled as a module, the module is named
<command>uinput</command> and needs to be loaded before running the
tests. Note that on some systems, the
tests may cause a hard lockup and require a reboot. On laptops, the
system will go into Sleep and need to be woken up to finish the test
suites.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>ninja install</userinput></screen>
</sect3>
<sect3 role="commands">
<title>Command Explanations</title>
&options-meson;
<para>
<parameter>-D tests=disabled</parameter>: This switch disables building
tests as they depend on Check.
</para>
</sect3>
<sect3 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Xorg Programs</segtitle>
<segtitle>Installed Xorg Library</segtitle>
<segtitle>Installed Xorg Directory</segtitle>
<seglistitem>
<seg>
libevdev-tweak-device, mouse-dpi-tool, and touchpad-edge-detector
</seg>
<seg>
libevdev
</seg>
<seg>
/usr/include/libevdev-1.0
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect4">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libevdev-tweak-device">
<term><command>libevdev-tweak-device</command></term>
<listitem>
<para>
is a tool to change some kernel device properties
</para>
<indexterm zone="libevdev libevdev-tweak-device">
<primary sortas="b-libevdev-tweak-device">libevdev-tweak-device</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="mouse-dpi-tool">
<term><command>mouse-dpi-tool</command></term>
<listitem>
<para>
is a tool to estimate the resolution of a mouse
</para>
<indexterm zone="libevdev mouse-dpi-tool">
<primary sortas="b-mouse-dpi-tool">mouse-dpi-tool</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="touchpad-edge-detector">
<term><command>touchpad-edge-detector</command></term>
<listitem>
<para>
touchpad-edge-detector is a tool that reads the touchpad events
from the kernel and calculates the minimum and maximum for the x
and y coordinates, respectively
</para>
<indexterm zone="libevdev touchpad-edge-detector">
<primary sortas="b-touchpad-edge-detector">touchpad-edge-detector</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libevdev-lib">
<term><filename class="libraryfile">libevdev</filename></term>
<listitem>
<para>
is a library of Xorg driver input functions
</para>
<indexterm zone="libevdev libevdev-lib">
<primary sortas="c-libevdev-lib">ebvdev</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect3>
</sect2>