- Home /
Scroll Wheel Mac vs Windows
So I use the scroll wheel in my game to zoom the camera in and out from my avatar. I have it so that there is a max distance away and a min distance away.
The problem is that when I do the scrolling on a windows machine everything functions normally, I can't break the camera zoom. The odd thing is that when I run it on a Mac I can easily break the scrolling and zoom way too far in and way too far out. (I've tested on two different macs with two different mice.)
I've gotten the values returned of the default mouse scroll wheel speed and I can't get the windows one over 1 where as I can get the Mac one to over 100.
I used a simple if statement of if(x>1) x = 1. But for some reason it still enjoys breaking.
Is there something I should know about using the mouse scroll with Mac?