summaryrefslogtreecommitdiffstats
path: root/src/input/frontend/qaxisaccumulator_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Coding convention fix for Src/inputRobert Brock2017-03-161-1/+2
| | | | | | | | Reordering the header includes to comply with Qt coding conventions Task-number: QTBUG-56185 Change-Id: I1d1b61c2fac42505f85a1c4421e1292259270568 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Add plumbing and process AxisAccumulators each frameSean Harmer2016-12-071-0/+2
| | | | | Change-Id: I91a0f9384c7ef2ba642db1a2becdba1d2e374d87 Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
* QAxisAccumulaor should be a componentSean Harmer2016-12-071-2/+2
| | | | | | | | So that it can be aggregated by entities to accumlate axis values which is behavior implemented on the backend. Change-Id: Idd7a1a2c1e3f7e73c3c83023ebad9b3e85f31a5d Reviewed-by: Kevin Ottens <kevin.ottens@kdab.com>
* Long live QAxisAccumulator!Sean Harmer2016-08-111-0/+87
Allows to treat axis values as acceleration or velocity and accumulates (integrates) a quantity from an axis input. Allows to avoid using FrameAction in several cases and a more declarative way of expressing such relationships. Change-Id: I853d7467265c39043a4dbb685a9076dd11ff2e90 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>