summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.c b/main.c
index b90cc5b..65221d7 100644
--- a/main.c
+++ b/main.c
@@ -10,6 +10,11 @@ int main(int argc, char** argv)
setvbuf(stdout, NULL, _IONBF, BUFSIZ);
if (argc < 2) {
show_device_options();
+ printf("\n\nAbove is a list of all the devices currently connected to your computer.\n"
+ "Find the event(s) above you want to use and determine the event number associated with it/them.\n"
+ "Then use the same command with every event number you want to use seperated by a space.\n"
+ "EXAMPLE: ./devout 17 14\n"
+ "The above example will print output for events /dev/input/event17 and /dev/input/event14\n\n\n");
} else if (argc == 2) {
//open and print a single event
unsigned long long event_num;