[osg-users] joystick support

Benoît Poulard ben.poulard at gmail.com
Wed Jul 9 08:07:38 PDT 2008


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 <zoltan.hubert at zzaero.com>:

> 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 at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080709/a1628766/attachment-0003.htm>


More information about the osg-users mailing list