[Development] mouse wheel zooming and inertial scrolling

René J. V. Bertin rjvbertin at gmail.com
Fri Sep 4 10:34:59 CEST 2015


Sorvig Morten wrote:

> On the OS X side his is handled in the platform plugin: We read the key
> modifier state at the beginning of the scroll event sequence.
> 
> The code in question is in  - (void)scrollWheel:(NSEvent *)theEvent in
> qnsview.mm

I haven't dug out my old trackball yet, but am I right in suspecting that this 
approach only works with devices that simulate inertial scrolling?

R.




More information about the Development mailing list