summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorClay Smith <claysmith158@gmail.com>2023-02-21 03:59:41 -0600
committerClay Smith <claysmith158@gmail.com>2023-02-21 03:59:41 -0600
commit99c9a32520fa75eb09ad40672e5341f683a64281 (patch)
treea5846079d3e20b91b36c12169ce0b78c77a5bb06 /main.c
parent6cc35c96996ca3f1432b92daf9b9d544c7631df8 (diff)
ALL BUT FF
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;