Hello Sean, Thanks, that mostly clears things up. Only one additional question: How are they normalized, to the window/opengl surface size that I have passed to the aspect engine?
Kind regards. On Mon, Dec 14, 2015 at 3:11 PM, Sean Harmer <sean.har...@kdab.com> wrote: > On Monday 14 Dec 2015 12:30:40 Nye wrote: > > Hello, > > I understood (by trial and error) that in the axisValueChanged signal I > get > > a relative offset. I incorrectly assumed it was an absolute value. Is it > > scaled or bound somehow, in example to the screen resolution, or is the > > value absolute (I'm using it with a mouse device)? Additionally, I'd like > > to know what is the measurement used, does it come in pixels, or some > > arbitrary units? > > The values are normalised units [-1, 1]. How these are mapped from pixel > offsets reported by the windowing system is controlled by the sensitivity > property on the MouseController. > > Cheers, > > Sean > > -- > 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