On 3/20/07, RJ <[EMAIL PROTECTED]> wrote:
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.

In what way do you wish to use Joysticks w.r.t the OSG?  If you want
to use the osgGA event handlers/ camera manipulators then do as I
suggested pass in events as mouse style events - see osgGA::EventQueue
for event methods.

If you just want to plug in the Joystick into your own simulation code
then this really has little to do with the OSG, and not something I
can help you with. Go read up SDL, its easy and convinient to get
Joystick input.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to