[osg-users] Key events doesn't work with function keys

2014-07-17 Thread Andrés Barrionuevo
Hi, I'm trying to detect the press of some keys in a custom event handler. Code: if( osgGA::GUIEventAdapter::RESIZE == ea.getEventType() ) { switch( ea.getKey() ) { case osgGA::GUIEventAdapter::KEY_L: // More things... break; case osgGA::GUIEventAdapter

Re: [osg-users] Key events doesn't work with function keys

2014-07-17 Thread Robert Osfield
HI Andres, Keyboards often have a toggle for the values they generate when pressing the function keys, perhaps you keyboard is generating desktop control codes. Run the osgkeyboard example to see what keys are being generated. Robert. On 17 July 2014 10:22, Andrés Barrionuevo wrote: > Hi, >

Re: [osg-users] Key events doesn't work with function keys

2014-07-22 Thread Andrés Barrionuevo
Hi Robert, thanks for the info! In the example the function keys worked right! ... Thank you! Cheers, Andrés -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=60393#60393 ___ osg-users mailing list o