input device by path

This commit is contained in:
Alexey Korepanov 2017-11-22 11:07:57 +00:00
parent 68f6cf578c
commit 6e0883f963

@ -53,7 +53,9 @@ void usage(void)
{ {
extern char *program_invocation_short_name; extern char *program_invocation_short_name;
printf("USAGE:\n"); printf("USAGE:\n");
printf(" %s /dev/input/eventX\n", program_invocation_short_name); printf(" %s INPUT_DEVICE\n", program_invocation_short_name);
printf("for example,\n");
printf(" %s '/dev/input/by-path/platform-1c1b000.ehci1-controller-usb-0:1.4:1.0-event-kbd'\n", program_invocation_short_name);
printf("\n"); printf("\n");
} }