Great - thanks Sean. If I come up with anything non-horrible I'll certainly submit it!
--- Andy Maloney // https://asmaloney.com twitter ~ @asmaloney <https://twitter.com/asmaloney> On Thu, Dec 8, 2016 at 2:44 PM, Sean Harmer <sean.har...@kdab.com> wrote: > Hi, > > On 08/12/2016 19:08, Andy wrote: > >> Is there a plan to implement a way to customize the mouse/keyboard >> controls for QOrbitCameraController? >> >> For example the natural thing for the mouse scroll wheel is to control >> zoom, but I don't see a way to add that. (Though I suppose I can submit >> a patch for QOrbitCameraController.) >> > > At the moment these are just "starters for 10" and Qt3DExtras is in tech > preview. You can copy the implementation of these and customise to suit > your own needs for now. If you do, note that there is a new type in 5.8 > called QAxisAccumulator that can be used to treat axis values as either > velocities or accelerations and which will integrate these up over time for > you on the backend. This will allow us to replace the use of the > QFrameAction component in the controllers. > > I'd like to get the controlers made more flexible for 5.9 indeed and > possibly add some others in due course (3rd person maybe). Patches are > welcome. :) > > Cheers, > > Sean > > >> --- >> Andy Maloney // https://asmaloney.com >> twitter ~ @asmaloney <https://twitter.com/asmaloney> >> >> >> >> _______________________________________________ >> Interest mailing list >> Interest@qt-project.org >> http://lists.qt-project.org/mailman/listinfo/interest >> >> > -- > Dr Sean Harmer | sean.har...@kdab.com | Managing Director UK > KDAB (UK) Ltd, a KDAB Group company > Tel. +44 (0)1625 809908; Sweden (HQ) +46-563-540090 > Mobile: +44 (0)7545 140604 > KDAB - Qt Experts > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest