summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRay <[email protected]>2022-04-28 17:38:52 +0200
committerRay <[email protected]>2022-04-28 17:38:52 +0200
commit5c66cc1c9bb4a3ae4af7cc6f82a521137ed5484d (patch)
treece4b8350d5b2ac070df4705f7c931f53fcbc33d3
parentdb6c67775593dc019b450c003fe3ed5390b40436 (diff)
downloadraylib-5c66cc1c9bb4a3ae4af7cc6f82a521137ed5484d.tar.gz
raylib-5c66cc1c9bb4a3ae4af7cc6f82a521137ed5484d.zip
Update rcore.c
-rw-r--r--src/rcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rcore.c b/src/rcore.c
index 88695bb3..e31e2297 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