HI Carlos, What is missing from the osgViewer supplied events that requires you to use SDL? Perhaps adding the functionality into osgViewer/osgGA would avoid the need for extra complexity.
On the SDL front I've used for getting joystick events with an osgViewer based application, but this doesn't require any keyboard events - these all just come through the viewer like the OSG examples. Robert. On Sat, Dec 6, 2008 at 3:58 PM, Carlos Sanches <[EMAIL PROTECTED]> wrote: > > Hi all ! > Please ! > I m trying to use SDL to take keyboard events , but when my program runs is > apearing two windows . one of my OSG program and other black of SDL . when I > click in the black screen my OSG objects move in the other screen. > I only want to use SDL to keyboard because has the response that I want . > Is there some way to dont appear the black screen and my OSG window read my > keyboard with SDL ?? > I read this tutorial to do this until now but looks like that there is old > functions > > http://www.cs.clemson.edu/~malloy/courses/3dgames-2007/tutor/web/controls/controls.html > > thank you ! > > _______________________________________________ > 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