summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorClay Smith <claysmith158@gmail.com>2023-02-07 01:13:52 -0600
committerClay Smith <claysmith158@gmail.com>2023-02-07 01:13:52 -0600
commit5a6ab9faf253d3a25c559ec13db081d956fe706e (patch)
tree0567d5d914612a84f69815b6b59982870093d766 /main.c
parenta8003ca6d7c1a48ad30aa8205d352031b21e7996 (diff)
Done except fix scanf issue and add more controllers.
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 3 insertions, 2 deletions
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;