Hi Matt,

I'd recommend using SDL for joystick input and osgViewer for windowing
as the later has far more flexible and powerful windowing and
threading support.  An example of mixing SDL for joystick input and
osgViewer for windowing can be found in the applications/present3D
application.

Robert.

On Tue, Sep 28, 2010 at 6:33 PM, Matt Caron <[email protected]> wrote:
> Hi,
>
> I am using SDL to get input from a joystick so that I can integrate joystick 
> control in OSG (I have tried the VRPN approach and right now SDL is looking 
> better for my needs).
>
> I have searched for as much information about integrating OSG and SDL as 
> possible, and so far it appears that I must use SDL windows and have OSG draw 
> to SDL windows, instead of OSG using its own windowing system.
>
> Does anyone know if this assertion is accurate?  Is there any way to connect 
> SDL through an OSG Viewer?  All I care about are the input events associated 
> with the joystick...
>
>
> Thank you!
>
> Cheers,
> Matt
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=32147#32147
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to