Commit cfdaf863 authored by David Faure's avatar David Faure
Browse files

kcm_keyboard: Cameras are not keyboards, don't setxkbmap when plugging a camera

parent 871e8927
......@@ -102,7 +102,8 @@ static bool isRealKeyboard(const char* deviceName)
return strstr(deviceName, "Video Bus") == nullptr
&& strstr(deviceName, "Sleep Button") == nullptr
&& strstr(deviceName, "Power Button") == nullptr
&& strstr(deviceName, "WMI hotkeys") == nullptr;
&& strstr(deviceName, "WMI hotkeys") == nullptr
&& strstr(deviceName, "Camera") == nullptr;
}
int XInputEventNotifier::getNewDeviceEventType(xcb_generic_event_t* event)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment