@@ -193,6 +193,8 @@ QInputDevice *QInputDeviceManagerPrivate::addDevice(struct udev_device *udev)
193193 }
194194 }
195195
196+ qDebug() << "Input device added:" << inputDevice->name() << inputDevice->devicePath() << inputDevice->type();
197+
196198 return inputDevice;
197199}
198200
@@ -205,6 +207,7 @@ void QInputDeviceManagerPrivate::removeDevice(const QString &path)
205207 // this path is not a full evdev path
206208 Q_FOREACH (const QString devicePath, deviceMap.keys()) {
207209 if (devicePath.contains(path)) {
210+ qDebug() << "Input device removed:" << deviceMap.value(devicePath)->name() << devicePath << deviceMap.value(devicePath)->type();
208211 deviceMap.remove(devicePath);
209212 Q_EMIT deviceRemoved(devicePath);
210213 }