[osg-users] Keyboard event

Simon Loic 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.
>
> Robert.
>
> 2009/3/17 Simon Loic <simon1lolo at gmail.com>
>
>> 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
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


-- 
Loïc Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090317/fbf163f7/attachment-0003.htm>


More information about the osg-users mailing list