Skip to content

Commit

Permalink
add joypad keyboard mapping instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
zeim839 committed Nov 20, 2024
1 parent 8b43049 commit 6d02a2a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,15 @@ int help(int argc, char** argv)

if (!strcmp(argv[1], "run")) {
printf("usage: %s run [NES ROM File]\n\n", PACKAGE_NAME);
printf("Runs the specified NES ROM file. Only iNES file format is currently accepted.\n");
printf("Runs the specified NES ROM file. Only iNES file format is currently accepted.\n\n");
printf("Keyboard map:\n\n");
printf("\tARROW KEYS:\tUP/DOWN/RIGHT/LEFT\n");
printf("\tRETURN:\t\tSTART\n");
printf("\tRSHIFT:\t\tSELECT\n");
printf("\tH:\t\tTURBO A\n");
printf("\tJ:\t\tBUTTON A\n");
printf("\tK:\t\tBUTTON B\n");
printf("\tL:\t\tTURBO B\n\n");
exit(EXIT_SUCCESS);
}

Expand Down

0 comments on commit 6d02a2a

Please sign in to comment.