[osg-users] Keyboard event
simon1lolo at gmail.com
Tue Mar 17 09:24:23 PDT 2009
My bad, I didn't see that a thread was already launched and treated this
problem : cf [osg-users] osg+QT MODKEY How to
It was due to the conversion of QT events into osg ones.
I've been through the thread and find work around but I'm not convinced it
is good for long term.
2009/3/17 Robert Osfield <robert.osfield at gmail.com>
> HI Loic,
> What happens when you run the osgkeyboard example?
> I've just tried it and it detects the page up and page down without
> problems. I'm working with Kubuntu 8.10.
> 2009/3/17 Simon Loic <simon1lolo at gmail.com>
>> 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
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
> osg-users mailing list
> osg-users at lists.openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users