Any reason the mouse wouldn't work in OpenGL mode?

In Aleph One (http://source.bungie.org/), mouse input is not accepted in-game if
OpenGL rendering is on. The developer was stumped; all he could tell me was that
it must be something in SDL. Any ideas? I’m on Windows XP Pro with ATI Radeon
X1950 and the new Catalyst 8.6.

I’ve used the mouse in SDL with OpenGL plenty of times, I would bet SDL
isn’t to blame :P> ----- Original Message -----

From: sdl-bounces@lists.libsdl.org [mailto:sdl-bounces at lists.libsdl.org] On
Behalf Of Iori Branford
Sent: Sunday, June 22, 2008 12:41 PM
To: sdl at libsdl.org
Subject: [SDL] Any reason the mouse wouldn’t work in OpenGL mode?

In Aleph One (http://source.bungie.org/), mouse input is not accepted
in-game if
OpenGL rendering is on. The developer was stumped; all he could tell me was
that
it must be something in SDL. Any ideas? I’m on Windows XP Pro with ATI
Radeon
X1950 and the new Catalyst 8.6.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

It is, in fact, a problem with the directx video driver (which Iori
was specifying using SDL_VIDEODRIVER) that I reported on this list a
long time ago. You lost your bet :-p

GregoryOn Sun, Jun 22, 2008 at 4:37 PM, Alan Wolfe wrote:

I’ve used the mouse in SDL with OpenGL plenty of times, I would bet SDL
isn’t to blame :stuck_out_tongue:

I don’t get it–if it is the directx driver, why would it affect
openGL-only mode? Does it have to switch from DirectX to OpenGL, and
the mouse input gets trashed during the transition?

JohnOn Mon, Jun 23, 2008 at 6:39 AM, Gregory Smith wrote:

On Sun, Jun 22, 2008 at 4:37 PM, Alan Wolfe wrote:

I’ve used the mouse in SDL with OpenGL plenty of times, I would bet SDL
isn’t to blame :stuck_out_tongue:

It is, in fact, a problem with the directx video driver (which Iori
was specifying using SDL_VIDEODRIVER) that I reported on this list a
long time ago. You lost your bet :-p

I don’t get it–if it is the directx driver, why would it affect
openGL-only mode? Does it have to switch from DirectX to OpenGL, and
the mouse input gets trashed during the transition?

Aleph One transitions from a software surface for rendering the menus, to
an OpenGL surface in game, using SetVideoMode. It’s at that point that
mouse input fails.

It used to crash outright, so I suppose no mouse is an improvement over
that. It’s been made clear to me the directx driver has no future, so I
haven’t put any effort into figuring out why that doesn’t work.

GregoryOn Mon, 23 Jun 2008, John Magnotti wrote: