thank you both for your answer, I want to use plib in order to manage joystick, and integrate it with OSG by an event handler. I read thread that Alberto Luaces has posted,and I see that osg provides only mouse/keybroard handler interface.
I will try to make my own "OsgJoystickEventHandler" based on plib. If I look into osgGA, osgGA::GUIEventHandler is based on osg::NodeCallback and osg::Drawable::EventCallback. Is it necessary to make a subclass of osg::NodeCallback and osg::Drawable::EventCallback?? Thank's 2008/7/9 HUBERT Zoltan <[EMAIL PROTECTED]>: > Benoît Poulard wrote on Wednesday 09 July 2008: > > I need to add a joystick support in my application. > > I want to add a new event handler to manage the joystick. > > What is the best way to do this with OSG 2.4? > > SDL: that's what Robert answered me to this same question > > And true, it works easy. SDL is good for that. > And no, you shouldn't use osgviewerSDL (because of threading > issues) > > bye > > Zoltán > > > > > -- > ____________________________________ > > Zoltan > > http://sourceforge.net/projects/zsim > ____________________________________ > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org