[ANN] OSX Mouse scroll wheel external

    Feb 20 2008 | 8:29 am
    I just made an external to get consistent mouse wheel events on osx.
    Available here:

    • Feb 20 2008 | 9:58 am
      Cool stuff! haven't thought of a use for this yet, but maybe i'll find one later.
      - I'm using a mighty mouse, which has a 2D mousewheel. Just looking through your code, is this supported by the GetEventParameter function (there's 2 zero's there)? Maybe a second outlet?
      - Wouldn't it make more sense to only bind one window to your object at the same time? That way, you could use multiple instances of the ol.mousewheel object, dispose of unwanted event handlers etc. Seems to me like a more flexible solution.
    • Feb 20 2008 | 10:45 am
      I'm pretty sure 2D mousewheel can be supported. I will look into it for a future version.
      >Wouldn't it make more sense to only bind one window to your object at the same time?
      I do only bind one window AFAIK. I haven't tested multiple instances yet. Will check it out later.
    • Feb 20 2008 | 2:56 pm
      For me, when i bind to a window, it always stays bound, even if i also bind another window. Seems like unbinding something doesn't always work...
      After some trying out, everything works fine as long as you only bind one window at a time. When you bind two windows, it becomes impossible to unbind one of them, or sometimes even both. Do you get the same thing?
      Keep up the good work...
    • Jul 31 2009 | 11:18 pm
      i've updated my ol.mousewheel external to support horizontal scroll and modifiers. It's also now working on windows, although i am not sure if the horizontal scroll is working properly there.
    • Aug 07 2009 | 6:31 pm
      The jitterwindow mode work also for me with TwoFingersTrackpading on MBPro ! The 2D mousewheel of the mighty mouse also work ! (knowing the lateral precision of mighty mouse is in fact only -1,+1, far behind the MBP Trackpad.)
      ..But the non-jitterwindow mode is just silent with all my mouses. Is it because of my "USBoverdrive" mouse driver ? (that i use to make my PC mouse work on mac)
    • Jun 22 2011 | 5:16 pm
      btw those links don't work anymore... can this be found anywhere else?
    • Jun 22 2011 | 8:05 pm
      here you go
      ---- Endless Series v3 out now - A unique synthesis and effect plugin based on the Shepard Tone auditory illusion.
    • Jun 23 2011 | 1:11 am
      dope thanks!
    • Jun 26 2011 | 3:06 am
      That's fantastic. Love it!
      The binding issue seems to be OK here on XP, you do have to have whatever window frontmost. It still grabs when you're outside the window, as long as it's still active (you can be over other app windows in the background, before any clicking). And you can have several windows bound, but only one works at a time, the frontmost/active. Very cool.
      On XP at least, if you hold Alt, you don't get a special modifier number, which is fine. BUT, once you release Alt, you go into the "underline mode" of the menu bar, and the wheel is no longer picked up until you click somewhere. That seems to make some sense, as your menu bar is then active for keyboard etc. commands, but what's a little weird is that even jit.windows (with no menus available) show the same behavior. Really, no big deal, just don't have Alt be a modifier for the user... besides, Shift and Control work just fine, each with their own modifier value, so they're more useful anyways. I imagine Option on Mac probably doesn't do this.
      Great, great stuff... really want to put this into effect with camera zoom in GL land, it's perfect for that and a lot more!