summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Kitt <steve@sk2.org>2021-11-14 18:28:26 +0100
committerStephen Kitt <steve@sk2.org>2021-11-15 08:58:11 +0100
commit066d9caf551b4d4662a776e3e3702918b0b8f3a7 (patch)
treef945501e5b441074a390d56fb2461f7c96dc4128
parent69403a63ed29a1ee62edb8d0885fa770dd9a53cf (diff)
downloadlibevdev-066d9caf551b4d4662a776e3e3702918b0b8f3a7.tar.gz
Add a manpage for mouse-dpi-tool
Signed-off-by: Stephen Kitt <steve@sk2.org>
-rw-r--r--tools/Makefile.am1
-rw-r--r--tools/mouse-dpi-tool.118
2 files changed, 19 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 83d6700..4234040 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -24,5 +24,6 @@ libevdev_tweak_device_LDADD = $(libevdev_ldadd)
dist_man_MANS = \
libevdev-tweak-device.1 \
+ mouse-dpi-tool.1 \
touchpad-edge-detector.1 \
$(NULL)
diff --git a/tools/mouse-dpi-tool.1 b/tools/mouse-dpi-tool.1
new file mode 100644
index 0000000..1629e0e
--- /dev/null
+++ b/tools/mouse-dpi-tool.1
@@ -0,0 +1,18 @@
+.TH MOUSE-DPI-TOOL "1"
+.SH NAME
+mouse-dpi-tool \- mouse resolution estimation tool
+.SH SYNOPSIS
+.BR mouse-dpi-tool " <\fIevdev device\fP>"
+.SH DESCRIPTION
+.B mouse-dpi-tool
+reads relative events (mouse movement events) and calculates the
+distance covered and maximum frequency of the incoming events.
+Combined with a measurement of the actual distance physically covered,
+this allows the mouse's resolution to be estimated.
+.PP
+Some mouse devices provide dynamic frequencies, it is
+recommended to measure multiple times to obtain the highest value.
+.PP
+.SH OPTIONS
+.B mouse-dpi-tool
+accepts no options.