[osg-users] Keyboard event

Simon Loic simon1lolo at gmail.com
Tue Mar 17 07:36:56 PDT 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090317/5faded00/attachment-0002.htm>


More information about the osg-users mailing list