Results 1 to 2 of 2

Thread: non platform specific mouse wheel support?

  1. #1
    Guest

    non platform specific mouse wheel support?

    I wish glut supported mouse wheel detection, is there another library that does over Win98, OSX, and Linux?

  2. #2
    Member Contributor
    Join Date
    Aug 2001
    Location
    Berkeley, Ca., USA
    Posts
    52

    Re: non platform specific mouse wheel support?

    I haven't spent a lot of time on this, but the mouse wheel is generally just another button. Well, actually, it's just another 3 buttons. There's the one that gets activated when you press the mouswheel straight down, and each of the directions of rotation are another button.

    The easy test: Fire up Xemacs and rotate your mousewheel... it will mention that button4 and button5 (in my case, your mouse may vary) aren't bound to anything. I'm betting that windows treats this the same way. Dunno about macs, but this stuff doesn't tend to vary all that much.

    Good luck!

Similar Threads

  1. mouse-wheel function return 'int wheel-position=0' only ..
    By CarstenT in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 11-21-2013, 01:00 PM
  2. Processing mouse wheel actions?
    By PureSpider in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 04-15-2010, 10:41 AM
  3. Mouse scroll wheel
    By JulienB in forum OpenGL: General
    Replies: 0
    Last Post: 05-24-2007, 02:47 AM
  4. mouse wheel
    By in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 04-26-2004, 02:06 PM
  5. glut and mouse wheel gives segmentation fault
    By IndianRopeMan in forum OpenGL: Linux
    Replies: 4
    Last Post: 09-03-2003, 09:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean