tools: rename the example device in the touchpad-edge-detector
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 27 Apr 2020 21:14:58 +0000 (07:14 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Mon, 27 Apr 2020 21:15:53 +0000 (07:15 +1000)
In the hope that people don't blindly type event0 from now on.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
tools/touchpad-edge-detector.c

index 42520d36be0cb3dd66560730a8a79412c1ad926b..5dddc6a67ba250f9347c11bf1149e5d9a919d960 100644 (file)
@@ -43,7 +43,7 @@
 
 static int
 usage(void) {
-       printf("Usage: %s 12x34 /dev/input/event0\n", program_invocation_short_name);
+       printf("Usage: %s 12x34 /dev/input/eventX\n", program_invocation_short_name);
        printf("\n");
        printf("This tool reads the touchpad events from the kernel and calculates\n "
               "the minimum and maximum for the x and y coordinates, respectively.\n"