Mouse sensitivity

hi`

is there something compareable to XChangePointerControl where I can set
the mouse acceleration? And is there a way to turn of auto_repeat? Like
SDL_WM_SetAutoRepeat() or something similar?–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right

hi`

is there something compareable to XChangePointerControl where I can set
the mouse acceleration?

No. Once I finish the mouse code this weekend, you should be able to get
relative mouse motion at all times and just multiply those deltas by your
own acceleration values.

The trick to setting relative mouse mode is:
SDL_WM_GrabInput() and SDL_ShowCursor(0)
The new X11 code will use DGA or silently warp the pointer under these
conditions.

And is there a way to turn of auto_repeat? Like
SDL_WM_SetAutoRepeat() or something similar?

Key repeat is off by default.

-Sam Lantinga				(slouken at devolution.com)

Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec

Sam Lantinga wrote:

hi`

is there something compareable to XChangePointerControl where I can set
the mouse acceleration?

No. Once I finish the mouse code this weekend, you should be able to get
relative mouse motion at all times and just multiply those deltas by your
own acceleration values.

That is a nice solution.

The trick to setting relative mouse mode is:
SDL_WM_GrabInput() and SDL_ShowCursor(0)
The new X11 code will use DGA or silently warp the pointer under these
conditions.

And what if I don’t want to hide the mouse? Okay, not the normal case…

And is there a way to turn of auto_repeat? Like
SDL_WM_SetAutoRepeat() or something similar?

Key repeat is off by default.

That explains why I didn’t experience any problems ;-)–
Daniel Vogel My opinions may have changed,
666 @ http://grafzahl.de but not the fact that I am right

But the motions SDL receives independent of X’s mouse acceleration etc.?
Does X have mouse acceleration?

Long live the confused,
Akawaka.–
Bother, said Pooh as the Cardassians ripped off his head and…

On Sat, 22 Jan 2000, Sam Lantinga wrote:

No. Once I finish the mouse code this weekend, you should be able to get
relative mouse motion at all times and just multiply those deltas by your
own acceleration values.

I’m reading the mouse position changes with SDL_GetRelativeMouseState.
But the mouse sensitivity depends on the os settings (I’m using windows xp,
don’t know how it is with Mac OS, Linux …?).
Is there some way to have the same mouse sensitivity in sdl programs no
matter what the windows xp settings are ?

Regards,
Christoph

I’m reading the mouse position changes with SDL_GetRelativeMouseState.
But the mouse sensitivity depends on the os settings (I’m using windows xp,
don’t know how it is with Mac OS, Linux …?).
Is there some way to have the same mouse sensitivity in sdl programs no
matter what the windows xp settings are ?

Not at the moment. It’s definitely something I’d like to see in 1.3 though.

See ya!
-Sam Lantinga, Software Engineer, Blizzard Entertainment