My bad, I didn't see that a thread was already launched and treated this problem : cf [osg-users] osg+QT MODKEY How to It was due to the conversion of QT events into osg ones. I've been through the thread and find work around but I'm not convinced it is good for long term.
2009/3/17 Robert Osfield <robert.osfi...@gmail.com> > HI Loic, > > What happens when you run the osgkeyboard example? > > I've just tried it and it detects the page up and page down without > problems. I'm working with Kubuntu 8.10. > > Robert. > > 2009/3/17 Simon Loic <simon1l...@gmail.com> > >> Hi, >> >> I faced the following problem with the osgGA::GUIEventAdapter::getKey(). >> When ever I press an arrow key or PageUp or PageDown it returns 0 instead >> of the right key id. >> >> I noticed this behaviour on both windows and linux machines. >> >> Don't know if it makes a difference but I tried both with my local >> keyboard layout (french) and the US one. >> >> Has anyone noticed the same thing? Is there a workaround? >> >> -- >> Loïc Simon >> >> _______________________________________________ >> 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 > > -- Loïc Simon
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org