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
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,
>
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
3 matches
Mail list logo