Hi George,

this is handled by EventHandlers. There are plenty of them for different
purposes. Have a look at osgViewer/ViewerEventHandlers

Nick

http://www.linkedin.com/in/tnick
Sent from Izmit, 41, Turkey

On Sat, Jan 9, 2010 at 7:53 PM, George Forest <[email protected]> wrote:

> Hi,
>
> I am executing a frame loop such as
>
> while (!viewer.done())
> {
> //get pressed key
> viewer.frame();
> }
>
> Within this code I want to get pressed arrow keys but I could not find any
> comprehensible example or source.
>
> Thank you!
>
> Cheers,
> George
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=22325#22325
>
>
>
>
>
> _______________________________________________
> 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