Hi Robert, for sure there are other values to be insert in mKeyMap (I just added '0'-'9' and 'a'-'z' keys). But for keys with modifiers it is not correct to return event->text() (just like in remapKey(QKeyEvent* event) method) since text() does not return 'f' if the QKeyEvent represent a SHIFT+f event, so the returned value is not GUIAdapterEvent::KEY_F. The only way to get the correct key pressed in combination with a modifier in this case is throuth the key() method of QKeyEvent that unfortunately returns a Qt enum not a GUIAdapterEvent enum for the pressed key. So the Qt key must be mapped in some ways. Hope this helps to find a proper solution.
Regards, Gianni ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=50872#50872 _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
