Hi Papadakos, I have just tried running the osgkeyboard example and found that its not report the space bar pressed when ctrl key is pressed. So it looks like you arn't doing anything wrong. I'd need to look into more details about the underlying implementation to judge why ctrl + space does not report the space, while ctrl and normal key works, the later reports the modified key though, so perhaps its simply a case of the OSG reporting the final key rather than the raw keys.
Robert. On 5/4/07, Panagiotis Papadakos <[EMAIL PROTECTED]> wrote:
Hello everybody! I would like to use modifier keys in my app, for example Ctrl + Space. But it seems that I am unable to make them work. I tried to use ea.getKey() to get the key and ea.getModKeyMask() to get the modifier mask. But ea.getKey() always return KEY_Control_L, when pressing Ctrl + space, and I never get the KEY_Space. What am I doing wrong? Thank you! -- Papadakos Panagiotis _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
