mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-16 08:18:14 +00:00
Update rcore.c
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user