Hi Rahul,

perhaps the VRPN is what you are looking for ( 
http://www.cs.unc.edu/Research/vrpn/ ).
You can use the Joystick as Button, Slider and 6DOF Device and so you can feed 
every OSG-Matrix you are interested in, for example a Transform or Viewpoint

hope this helps
Olaf

Am Dienstag, 20. März 2007 18:12 schrieb RJ:
> Thanx Robert,
> I want to use the joystick for a simulation. Where i need to use all
> the buttons (i have currently 12 button joystick) and the four axis.
> I guess the approach you told me will not solve the purpose. Is there
> any alternative, If possible i would like to add the full joystick
> support in OSG.
> best regards
> RJ
>
> On Tue, 2007-03-20 at 16:57 +0000, Robert Osfield wrote:
> > Hi Rahul,
> >
> > I have used SDL's joystick support to integrate with the OSG apps.  At
> > what level you want to the joystick support depends on how you want to
> > go about.  I generated the osgGA::GUIEventAdapter "mouse style" events
> > from the joystick so the osgGA manipulators could just treat the new
> > device as a mouse.
> >
> > Robert.
> >
> > On 3/20/07, RJ <[EMAIL PROTECTED]> wrote:
> > > Hi All,
> > > Has any one tried integrating JoyStick with OSG using producer or
> > > viewer ?
> > > best regards
> > > Rahul Jain
> > >
> > > _______________________________________________
> > > osg-users mailing list
> > > [email protected]
> > > http://openscenegraph.net/mailman/listinfo/osg-users
> > > http://www.openscenegraph.org/
> >
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> > http://openscenegraph.net/mailman/listinfo/osg-users
> > http://www.openscenegraph.org/
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to