typo / missing bracket

This commit is contained in:
Jochen Heizmann 2025-06-21 11:45:45 +02:00
parent be0d9e8a56
commit dca02a988b

View File

@ -181,7 +181,7 @@ static GLFWbool openJoystickDevice(const char* path)
// They are filtered out for enumeration. I wish there is a more robust way to detect if a device is really // They are filtered out for enumeration. I wish there is a more robust way to detect if a device is really
// a gamecontroller/gamepad, but I wasn't able to find a way. // a gamecontroller/gamepad, but I wasn't able to find a way.
if (strstr(name, "Keyboard System Control") || if (strstr(name, "Keyboard System Control") ||
strstr(name, "Keyboard Consumer Control" || strstr(name, "Keyboard Consumer Control") ||
strstr(name, "11-0048 EP0110M09") || strstr(name, "11-0048 EP0110M09") ||
strstr(name, "HID 046a:0023")) { strstr(name, "HID 046a:0023")) {
close(linjs.fd); close(linjs.fd);