Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

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

  1. #1
    Newbie Newbie
    Join Date
    Jul 2017
    Location
    Turkey
    Posts
    1

    Question How can i dedect Mouse Up/Down scrolling in Opengl (C++) ?

    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

  2. #2
    Newbie Newbie
    Join Date
    Aug 2017
    Posts
    1
    Which os and platform are you using?
    If you are using windows, then the Mouse Wheel Event will do the job for you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •