Update rcore.c
This commit is contained in:
parent
db6c677755
commit
5c66cc1c9b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue