x


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?

more ▼

asked Feb 29 '12 at 06:21 PM

zachypin gravatar image

zachypin
71 35 38 38

(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x76
x56
x17
x11
x11

asked: Feb 29 '12 at 06:21 PM

Seen: 482 times

Last Updated: Feb 29 '12 at 06:21 PM