What platform would you run Quetoo on if it was on Steam?:

Getting rid of that pesky mouse acceleration.

Quake2World picks up input settings from your environment via SDL. If you have mouse acceleration enabled in your desktop environment, it will also be enabled to that same extent in Quake2World. Mouse acceleration is a pesky little setting that often makes your mouse-input feel too fast and not very responsive while using slow mouse movements.

Here are is how to disable it in the usual major platforms. Be cautioned, your mouse will most likely feel slower in both your desktop and in your games.

Create a new .reg file, and put this in it:

[HKEY_CURRENT_USER\Control Panel\Mouse]

Then, of course, execute the .reg file.

X11-based (Linux/*BSD):
Download the xset utility if your distribution doesn't already have it (most do) and add xset m 0 0 to your X11 start-up script or equivalent.

Download, install, and run – self explanatory.

January 22, 2008 - 19:41pm

I found an interesting reference in an obscure SDL FAQ:

Q: How do I enable X11 mouse acceleration?
A: As of SDL 1.0.8, you can set the environment variable SDL_VIDEO_X11_MOUSEACCEL to "X/Y", where 'X' is the numerator and 'Y' is the denomenator of the mouse acceleration. For example, if you wanted to set mouse acceleration to 2, you would set the variable to "2/1". By default SDL does not change the current X11 mouse acceleration.

Maybe this also means acceleration can be disabled through the SDL API and ultimatly controlled through a cvar. It's worth investigating.

January 23, 2008 - 09:54am

As long as the relevant cvar's are processed before the SDL context is initialized, that might work, yea. It's definitely worth a shot.