From 78644b87dcb933883fbb157c3370466189b6cda7 Mon Sep 17 00:00:00 2001 From: Edgaru089 Date: Tue, 26 Mar 2024 14:07:49 +0800 Subject: [PATCH] Remove input logging --- input.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/input.c b/input.c index b158f18..6f597ed 100644 --- a/input.c +++ b/input.c @@ -51,10 +51,9 @@ void input_Advance(System_Input *sys) { // Checks the most significiant bit (of the SHORT returned) if ((GetAsyncKeyState(sys->systemKeymap[i]) & 0x8000) != 0) { // Pressed - if (sys->keys[i] == JustReleased || sys->keys[i] == Released) { - fprintf(stderr, "[input_Advance] Key %s pressed\n", input_KeyNames[i]); + if (sys->keys[i] == JustReleased || sys->keys[i] == Released) sys->keys[i] = JustPressed; - } else + else sys->keys[i] = Pressed; } else { // Released