From 5bb01a42fdc8bb5f1f297019e67fdce8f64cfba4 Mon Sep 17 00:00:00 2001 From: Paul Lemire Date: Sun, 29 Nov 2015 16:36:59 +0100 Subject: QInputAspect: add a comments regarding QInputDeviceIntegration::initialize Change-Id: I7a5f20fdd4704a0229fed66c350f0a99490c4908 Reviewed-by: Sean Harmer --- src/input/frontend/qinputaspect.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/input/frontend') diff --git a/src/input/frontend/qinputaspect.cpp b/src/input/frontend/qinputaspect.cpp index 04f4f9dd3..4c2b0e4de 100644 --- a/src/input/frontend/qinputaspect.cpp +++ b/src/input/frontend/qinputaspect.cpp @@ -122,6 +122,10 @@ void QInputAspect::loadInputDevicePlugins() Qt3DInput::QInputDeviceIntegration *integration = QInputDeviceIntegrationFactory::create(key, QStringList()); if (integration != Q_NULLPTR) { d->m_inputDeviceIntegrations.push_back(integration); + // Initialize will allow the InputDeviceIntegration to + // register their frontend / backend types, + // create their managers + // launch a thread to listen to the actual physical device.... integration->initialize(this); } } -- cgit v1.2.3