PDA

View Full Version : How can i dedect Mouse Up/Down scrolling in Opengl (C++) ?



Asokanta
07-28-2017, 08:54 AM
I'm new on this forum so i'm sorry if i have bad thing like my english.

I wan't dedect mouse scrolling for zoom in & zoom out.
I can zoom using keyboard input but i don't know how can i use mouse scrolling for zoom.



Best Regards. -Asokanta

noyasystem
08-04-2017, 07:04 AM
Which os and platform are you using?
If you are using windows, then the Mouse Wheel Event will do the job for you.