From 5a6ab9faf253d3a25c559ec13db081d956fe706e Mon Sep 17 00:00:00 2001 From: Clay Smith Date: Tue, 7 Feb 2023 01:13:52 -0600 Subject: Done except fix scanf issue and add more controllers. --- main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 06e5f95..ce63cd3 100644 --- a/main.c +++ b/main.c @@ -24,11 +24,12 @@ int main(int argc, char** argv) if (!choice) { if (connected_controllers == 0) { - fprintf(stderr, "No device matching the programs requirments (DualShock 4, Xbox 360, Valve Steam, or Wii Controller) was found, please double check the connection if you do not think that this is the case.\n"); + fprintf(stderr, "No device matching the programs requirements (DualShock 4, Xbox 360, Valve Steam, or Wii Controller) was found, please double check the connection if you do not think that this is the case.\n"); return(-1); } - fprintf(stderr, "\n\nPress the number corresponding to the device above that you would like to use and then press ENTER.\n"); + fprintf(stderr, "\n\nUse the same command with a space followed by the number corresponding to the input listed above that you want to use.\n\n"); + //fprintf(stderr, "\n\nIf no devices are listed above, then the program failed to find an acceptable device connected to the computer.\n\n"); } else { struct input_event event1, event2, event3, event4; -- cgit v1.2.1