[SDL] Adding SpaceNavigator support to libSDL

Sam Lantinga slouken at devolution.com
Tue Apr 22 20:27:46 PDT 2008


> I work for 3Dconnexion and I am interested in adding support for our SpaceNavigator device to libSDL.

Great!

> 1. first of all, would you be interested in having this device supported? (I hope so :))

Sure!  I would recommend starting with SDL 1.3, which is the current development branch of SDL.

> 2. on Linux the SpaceNavigator is a "RELative" event device.  I see that event devices can be excluded with SDL_INPUT_LINUXEV: under what circumstances SDL_INPUT_LINUXEV is 0 ?

At this point, I don't think it's ever 0.

> 3. I just started looking at the code, and I'd like to know if there are other special considerations or assumptions regarding event devices in libSDL that I should know.

Not that I can think of offhand, but if you have any questions, feel free to ask.

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


More information about the SDL mailing list