diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2015-12-08 09:51:29 +0000 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2015-12-16 09:47:30 +0000 |
commit | c16863075cc73485d7a66c93e4b8d9fefcaf5f63 (patch) | |
tree | 7b228ce9b444719220ad7faf1f7176b7692ed87c /src/input/backend/keyboardcontroller_p.h | |
parent | 4125d98dfa4abdd6533bb7203b7e36a51dc545aa (diff) |
Implement dead zone support
Change-Id: Icd5d31ba690484dc310de872be9df3ec9a520c63
Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
Diffstat (limited to 'src/input/backend/keyboardcontroller_p.h')
-rw-r--r-- | src/input/backend/keyboardcontroller_p.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/input/backend/keyboardcontroller_p.h b/src/input/backend/keyboardcontroller_p.h index 3c914d98f..3f4f8da53 100644 --- a/src/input/backend/keyboardcontroller_p.h +++ b/src/input/backend/keyboardcontroller_p.h @@ -56,6 +56,9 @@ QT_BEGIN_NAMESPACE namespace Qt3DInput { + +class QInputAspect; + namespace Input { class InputHandler; @@ -267,13 +270,14 @@ private: class KeyboardControllerFunctor : public Qt3DCore::QBackendNodeFunctor { public: - explicit KeyboardControllerFunctor(InputHandler *handler); + explicit KeyboardControllerFunctor(QInputAspect *inputaspect, InputHandler *handler); Qt3DCore::QBackendNode *create(Qt3DCore::QNode *frontend, const Qt3DCore::QBackendNodeFactory *factory) const Q_DECL_OVERRIDE; Qt3DCore::QBackendNode *get(const Qt3DCore::QNodeId &id) const Q_DECL_OVERRIDE; void destroy(const Qt3DCore::QNodeId &id) const Q_DECL_OVERRIDE; private: + QInputAspect *m_inputAspect; InputHandler *m_handler; }; |