diff --git a/src/input.c b/src/input.c index 6e61ced..45f2c5b 100644 --- a/src/input.c +++ b/src/input.c @@ -44,19 +44,19 @@ char getInput(){ switch(key){ case 'w': - printf("W"); + return 'u'; break; case 'a': - printf("A"); + return 'l'; break; case 's': - printf("S"); + return 'd'; break; case 'd': - printf("D"); + return 'd'; break; case 'q': - printf("quit"); + return 'q'; break; case 'p': printf("\033[31mgame paused, p to continue");