[PATCH] libgpm support (not working atm)

Hello,

It was quite easy to add gpm support to SDL, however, it is not working,
and I don’t know where the problem comes from.

I never get any mouse events: mouse_fd descriptor has bytes to read (in
FB_PumpEvents() function), but the FD_ISSET test always fails. So maybe
I miss something about gpm usage. When I compare to the gpm mev.c test
program, everything seems to be there and ok.

So I post the current patch, for anyone else to have a look. Note: I
removed the current (broken) gpm support with my patch, and you must set
SDL_MOUSEDRV to gpm to use the libgpm driver.–
Patrice Mandin
WWW: http://pmandin.atari.org/
Programmeur Linux, Atari
Sp?cialit?: D?veloppement, jeux
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: configure.in.gpm.diff
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20050930/75243367/attachment.asc
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: sdl_fbevents.c.gpm.diff
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20050930/75243367/attachment.txt