Mouse Problem

OK, none of you paid attention last time, but I’ll try this again:

I have an odd problem with my mouse in any full-screen SDL-based app.
These include UnrealTournament (using SDLGL driver of course) and the
Heretic II demo. It seems my mouse doesn’t like moving left… it will
move left, then stop, and wont move left again until I move right…
It’s possible to go from the right side of a screen to the left, buts
its a real hassle. Not to mention it makes both games incredably unfun
to play.

Now, the problem seems to be in relation to my window manager, Sawfish.
I’m running GNOME. If I log into KDE, the problem disappears. Also, if
I change my GNOME WM preference to something other than Sawfish (like
TWM, which sucks quite horribly) the problem goes away. However, if
I log into Sawmill w/o GNOME, the problem is still there, so its not
GNOME’s fault.

However, when running as root, I don’t get any problems with the mouse,
even if I run Sawmill. So, either its a configuration issue, or
something really weird.

And yes, I will send a mail to the Sawfish list, I just send a
subscription request so it might be a few hours before I can, though…

Anyways, this is really irritating: it’s a pain in the arse for me to
run any full-screen SDL app.

I’ve got SDL 1.1.4, XFree86 4.0.1, nVidia drivers 0.9-4, Linux kernel
2.2.16, all on a severely hacked copy of MDK 7.1

Sean Middleditch

I have an odd problem with my mouse in any full-screen SDL-based app.
These include UnrealTournament (using SDLGL driver of course) and the
Heretic II demo. It seems my mouse doesn’t like moving left… it will
move left, then stop, and wont move left again until I move right…

I’ve never seen anything like it. Have you upgraded to the latest version
of sawfish? I installed helix-gnome at home, and I haven’t had any problems
with it at all.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

I have an odd problem with my mouse in any full-screen SDL-based app.
These include UnrealTournament (using SDLGL driver of course) and the
Heretic II demo. It seems my mouse doesn’t like moving left… it will
move left, then stop, and wont move left again until I move right…

I’ve never seen anything like it. Have you upgraded to the latest version
of sawfish? I installed helix-gnome at home, and I haven’t had any problems
with it at all.

Yep, latest everything! Some other people have said they all have
problems with “GNOME” + SDL games, such as Soldier of Fortune, and even
Quake III (which doesn’t use SDL, does it?), but the problem wasn’t
QUITE the same… they said the mouse merely locked up, not like my odd
problem.

It’d be worth noting they all use Linux-Mandrake. I’m starting to think
they screwed something up with their weird and screwed up X installation
(trying to keep both XF3.3.x and XF4.0 installed, without requiring the
XF4 xlibs so far as I can tell… its odd as hell), but as I’ve said,
they haven’t seemed all to eager to help, and there’s no way I’ve enough
experience to hack on X (I’m told I’m an excellent programmer, but I so
very much suck at hacking other people’s code…)

Perhaps someone else could get help from the Mandrake folks?

Sean Etc.> See ya!

  -Sam Lantinga, Lead Programmer, Loki Entertainment Software

Sean Middleditch <sean.middleditch at iname.com> schrieb am 30 Aug 2000:

I have an odd problem with my mouse in any full-screen SDL-based app.
These include UnrealTournament (using SDLGL driver of course) and the
Heretic II demo. It seems my mouse doesn’t like moving left… it will
move left, then stop, and wont move left again until I move right…

A simple OpenGL app that uses SDL is GLtron. The latest CVS version
sports a mouse controlled camera that you can use to narrow your
problem down with it. You can also experiment with different
SDL configurations (grap mouse, grab input, hide pointer, fullscreen)
by modifying initWindow() in gltron.c

  • Andreas–
    Check out my 3D lightcycle game: http://www.gltron.org
    More than 90’000 Downloads of the latest version (0.59)