mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-02 15:15:39 +08:00
Style fixes
This commit is contained in:
committed by
Mathew Sutcliffe
parent
c31a383547
commit
95fe93a83c
@@ -100,10 +100,12 @@ namespace BlackInput
|
|||||||
keyEvent(keyCode, isPressed);
|
keyEvent(keyCode, isPressed);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!found) {
|
if (!found)
|
||||||
|
{
|
||||||
int fd = fileInput->handle();
|
int fd = fileInput->handle();
|
||||||
int version = 0;
|
int version = 0;
|
||||||
if ((ioctl(fd, EVIOCGVERSION, &version) < 0) || (((version >> 16) & 0xFF) < 1)) {
|
if ((ioctl(fd, EVIOCGVERSION, &version) < 0) || (((version >> 16) & 0xFF) < 1))
|
||||||
|
{
|
||||||
qWarning("CKeyboardLinux: Removing dead input device %s", qPrintable(fileInput->fileName()));
|
qWarning("CKeyboardLinux: Removing dead input device %s", qPrintable(fileInput->fileName()));
|
||||||
m_keyboardDevices.remove(fileInput->fileName());
|
m_keyboardDevices.remove(fileInput->fileName());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user