summaryrefslogtreecommitdiffstats
path: root/src/input/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/frontend')
-rw-r--r--src/input/frontend/qinputaspect.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/input/frontend/qinputaspect.cpp b/src/input/frontend/qinputaspect.cpp
index 4c2b0e4de..b9277774d 100644
--- a/src/input/frontend/qinputaspect.cpp
+++ b/src/input/frontend/qinputaspect.cpp
@@ -109,7 +109,7 @@ QInputAspect::QInputAspect(QObject *parent)
registerBackendType<QAxisSetting>(QBackendNodeFunctorPtr(new Input::InputNodeFunctor<Input::AxisSetting, Input::AxisSettingManager>(d_func()->m_inputHandler->axisSettingManager())));
registerBackendType<Qt3DInput::QAction>(QBackendNodeFunctorPtr(new Input::InputNodeFunctor<Input::Action, Input::ActionManager>(d_func()->m_inputHandler->actionManager())));
registerBackendType<QActionInput>(QBackendNodeFunctorPtr(new Input::InputNodeFunctor<Input::ActionInput, Input::ActionInputManager>(d_func()->m_inputHandler->actionInputManager())));
- registerBackendType<QLogicalDevice>(QBackendNodeFunctorPtr(new Input::InputNodeFunctor<Input::LogicalDevice, Input::LogicalDeviceManager>(d_func()->m_inputHandler->logicalDeviceManager())));
+ registerBackendType<QLogicalDevice>(QBackendNodeFunctorPtr(new Input::LogicalDeviceNodeFunctor(d_func()->m_inputHandler->logicalDeviceManager())));
loadInputDevicePlugins();
}
@@ -167,6 +167,11 @@ QVector<QAspectJobPtr> QInputAspect::jobsToExecute(qint64 time)
Q_FOREACH (QInputDeviceIntegration *integration, d->m_inputDeviceIntegrations)
jobs += integration->jobsToExecute(time);
+ // TO DO:
+ // Have Jobs that update Axis/Action (store combined axis/action value)
+ // Have Jobs that update the LogicalDevice
+ // Have Jobs that update the AxisHandlers/ActionHandlers
+
return jobs;
}