[ODE] JoyStick Support

Jon Watte (ODE) hplus-ode at mindcontrol.org
Mon Feb 13 10:22:30 MST 2006



Tristan Martindale wrote:

> I am wondering if there is any kind of joystick support for ode. i have
> taken a look through the drawstuff.cpp and x11.cpp files and located the
> handleEvent method. I see that it only has keyboard and mouse support.
> Has anyone thought of or actually implemented a joystick interface.

ODE is a physics library. "Drawstuff" is only there to run the demos and 
test programs; it's not intended to build a real application on top of. 
Joystick input is not a problem that ODE should solve. Instead, a 
developer that wants both physical simulation and joystick input, should 
go find a joystick library (say, SDL or plib), and ODE, and use them 
both in his application.

If you want an integrated game framework, look at something like Ogre3D 
(which is a scene graph that integrates with ODE), or Nebula2 (which is 
a full game framework).

Cheers,

			/ h+




More information about the ODE mailing list