OpenArena Message Boards

OpenArena => Technical Snafus => Topic started by: hxa7241 on June 08, 2008, 11:14:46 AM



Title: Mac mouse 'steppy' look movement ?
Post by: hxa7241 on June 08, 2008, 11:14:46 AM
On my Mac, mouse look movement seems uncomfortably 'granular'/steppy (with acceleration disabled). (OA 0.7.7, iMac (late-2007-aluminium, 2.4GHz Core2Duo, OSX 10.5.2))

It is the same with Nexuiz (which I have given up for OA!), but I don't remember an older OA or Q3ADemo on a Windows PC being like it.

Looking closer seems to show a low mouse resolution:
With sensitivity set to 400, there are 21 (just less than) discrete steps in turning 180 degrees. That means at sensitivity 40 -- a normal playing amount -- there would be about 210. (sensitivity does indeed appear to be linear, by comparing smaller turns visually)
And, with sensitivity at 40 the mouse needs to move 53mm (on the mousepad) to turn 180 degrees.
With those two measures, the effective 'DPI' of the mouse can be determined: 210/53 == 3.96 DPMM == 100.64 DPI.

An Apple Mighty Mouse should be 800 or 400 DPI, according to its use of the Agilent ADNS-2051. But the 100 measured is much smaller. It might be that sensors are normally filtered down before use, so 400-800 is not what is ever actually available. Or something is characteristically wonky with Apple mice. I don't know.

Or is this bad quantization in the engine -- like truncating the low 3 bits ?

Maybe someone else can give a comparison (Mac or not) -- set sensitivity to 10 times normal, and count steps to 180 degree turn ? Or something...


Title: Re: Mac mouse 'steppy' look movement ?
Post by: pulchr on June 08, 2008, 01:27:18 PM
the newer versions of openarena (0.7.6 and onwards) use sdl, a new way of interpreting input if i've understood it correctly.
the windows version that i tried felt so weird that i keep using the older version (0.7.1). dunno if there's a possible "fix" soon.

i'm not that keen on relearning my movement in the game just yet...

but then again, i'm speaking about windows - your problem might be something entirely different :)


Title: Re: Mac mouse 'steppy' look movement ?
Post by: Cacatoes on June 09, 2008, 07:40:50 AM
Hasn't the input been fixed with version 0.7.7 ?

I quite like version 0.7.7, but I haven't tested it much.
I didn't experience freezes nor real problems with my mouse.


Title: Re: Mac mouse 'steppy' look movement ?
Post by: pulchr on June 09, 2008, 07:55:51 AM
guess i should try and fiddle a bit more with the settings then, see if i can get the right feeling. just starting it up and copying my config did not do the trick though.

but cacas word is my law!


Title: Re: Mac mouse 'steppy' look movement ?
Post by: hxa7241 on June 09, 2008, 11:14:23 AM
I got more data from an old PC (Windows 2000, opto-mechanical serial mouse (Logitech M-MD15L-9F)):

For OA 0.6.0: mouse precision is 9.11 DPMM == 231.42 DPI.
This is plausible for an old mouse, and movement seems good.
(sensitivity of 400 means 20.5 steps, sensitivity of 20 means 410 steps and 45mm travel)

For OA 0.7.7: mouse precision is 6.12 DPMM == 155.16 DPI.
This is 33% worse, and is beginning to feel 'steppy'.
(sensitivity of 281 means 20ish steps, sensitivity of 20 means 281 steps and 46mm travel)

I noticed also that mouse acceleration cannot be disabled with cl_mouseAccel, but must be disabled with the OS control panel mouse settings.

In conclusion: the new mouse input is measurably significantly worse, and on Mac really quite bad.

I got a copy of 0.7.1 for Mac, so will give that a try, pulchr. But eventually I might have to brave digging into the code...