summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/simple-qml/CameraController.qml
Commit message (Collapse)AuthorAgeFilesLines
* Update simple-qml to use correct time deltaSean Harmer2015-12-071-10/+5
| | | | | Change-Id: Idc2d544d242c552033ad4826fad7a2fd48bf9672 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* Add sensitivity property to QMouseControllerSean Harmer2015-12-071-0/+28
| | | | | | | | | | | | | | The sensitivity is defined as the recipricol of the number of pixels the mouse is required to move to obtain the extreme axis value (-1 or +1). That is if you set it to 0.1 you need to move the mouse 10 pixels to get an axis value of magnitude 1. If it is 0.01, 100 pixels gives an axis value of magnitude 1. The user is responsible for applying any additional transformations in a suitable handler. Change-Id: I51cd28a17d4fc0b8461ac3e49efb26b2c66081b3 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
* simple-qml: CameraController implementation using the new Input APIPaul Lemire2015-12-071-0/+260
Change-Id: I934a2b3b96db2be8d582059651338b69c4175320 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>