summaryrefslogtreecommitdiff
path: root/tools/mouse-dpi-tool.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-01-07 13:39:55 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-01-07 13:39:55 +1000
commitf4cc76d96f411b1ab1a2809379839f5573236f79 (patch)
tree7f99795045b513e33f3417a6e5b83f233fcc2c4f /tools/mouse-dpi-tool.c
parent59c824ebc035a7d48b095a82c3836d7bb7ece831 (diff)
downloadlibevdev-f4cc76d96f411b1ab1a2809379839f5573236f79.tar.gz
tools: note that the mouse frequency measured is the highest frequency
Some devices scale the frequency based on the input and will provide recordings with different frequencies each time. Recommend to measure multiple times since we can only know what the highest frequency is. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools/mouse-dpi-tool.c')
-rw-r--r--tools/mouse-dpi-tool.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/mouse-dpi-tool.c b/tools/mouse-dpi-tool.c
index dc54a0d..be30a4d 100644
--- a/tools/mouse-dpi-tool.c
+++ b/tools/mouse-dpi-tool.c
@@ -51,8 +51,10 @@ static int
usage(void) {
printf("Usage: %s /dev/input/event0\n", program_invocation_short_name);
printf("\n");
- printf("This tool reads relative events from the kernel and calculates\n "
- "the distance covered and frequency of the incoming events.\n");
+ printf("This tool reads relative events from the kernel and calculates\n"
+ "the distance covered and maximum frequency of the incoming events.\n"
+ "Some mouse devices provide dynamic frequencies, it is\n"
+ "recommended to measure multiple times to obtain the highest value.\n");
return 1;
}