diff options
author | Kevin Ottens <kevin.ottens@kdab.com> | 2016-10-06 20:41:53 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-10-29 11:31:21 +0000 |
commit | 7e4dc51ddbc99f3d8be5b921f49603de4f42ee60 (patch) | |
tree | feb878e2867e4cbb88e4a675dcc0a6becc4146fd /src/input/backend/updateaxisactionjob_p.h | |
parent | f87ff1b6c41b9edabba72942998a06cbdd81ee74 (diff) |
Move all axis input logic in the relevant classes
This allows to align how we do things with a similar approach than the
one we use for the action inputs. All the processing for axis inputs
which was happening in UpdateAxisActionJob now happens in
AnalogAxisInput and ButtonAxisInput respectively. Makes the whole thing
more testable in return.
Change-Id: Ib24442b9983ae1736c287cd98c99ff2c04c1f807
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/input/backend/updateaxisactionjob_p.h')
-rw-r--r-- | src/input/backend/updateaxisactionjob_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input/backend/updateaxisactionjob_p.h b/src/input/backend/updateaxisactionjob_p.h index 3b71e7a88..f7252e87c 100644 --- a/src/input/backend/updateaxisactionjob_p.h +++ b/src/input/backend/updateaxisactionjob_p.h @@ -77,7 +77,7 @@ private: void updateAction(LogicalDevice *device); bool processActionInput(const Qt3DCore::QNodeId actionInputId); void updateAxis(LogicalDevice *device); - QAbstractPhysicalDeviceBackendNode *findAxisInputPhysicalDevice(AbstractAxisInput *axisInput); + float processAxisInput(const Qt3DCore::QNodeId axisInputId); const qint64 m_currentTime; InputHandler *m_handler; |