瀏覽代碼

Update rcore.c

pull/2454/head
Ray 3 年之前
父節點
當前提交
5c66cc1c9b
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/rcore.c

+ 1
- 1
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 && p">(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…
取消
儲存