Issue #125 Linux: error on failure to open input device file

This commit is contained in:
Mat Sutcliffe
2021-11-21 20:06:35 +00:00
parent 0c7238e572
commit 2257d87b64
2 changed files with 5 additions and 0 deletions

View File

@@ -254,6 +254,10 @@ namespace BlackInput
}
}
}
else
{
BlackMisc::CLogMessage(this).error(u"Failed to open keyboard device %1: %2") << inputFile->fileName() << inputFile->errorString();
}
}
void CKeyboardLinux::keyEvent(int keyCode, bool isPressed)