From 5c66cc1c9bb4a3ae4af7cc6f82a521137ed5484d Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 28 Apr 2022 17:38:52 +0200 Subject: [PATCH] Update rcore.c --- src/rcore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcore.c b/src/rcore.c index 88695bb31..e31e22978 100644 --- a/src/rcore.c +++ b/src/rcore.c @@ -6140,7 +6140,7 @@ static void ConfigureEvdevDevice(char *device) // Decide what to do with the device //------------------------------------------------------------------------------------------------------- - if (worker->isKeyboard && CORE.Input.Keyboard.fd == -1) + if (worker->isKeyboard && (CORE.Input.Keyboard.fd == -1)) { // Use the first keyboard encountered. This assumes that a device that says it's a keyboard is just a // keyboard. The keyboard is polled synchronously, whereas other input devices are polled in separate