Paul,
You might be able to disable “key repeat”
in your desktop preferences. This should be what is causing the behavior you
are seeing.
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Don Burns
Sent: Thursday, September 28, 2006
2:21 PM
To: osg users
Subject: Re: [osg-users]
KEYDOWN/KEYUP events in osgGA/osgProducer
Hi Paul,
This is the expected behavior. Actually, this is exactly what X11 does
and Producer simply passes it along.
-don
On 9/28/06, Paul
Brewster <[EMAIL PROTECTED]>
wrote:
I'm just learning OSG after years of programming in Performer/CAVELib
so
I am still picking up some things. But I seem to have found a
problem
with the keyboard events in osgGA. When I press a key on the
keyboard,
both a KEYDOWN and KEYUP event is being generated. As I hold the key
down, both events continue to be generated, until I release the key,
when a final KEYDOWN/KEYUP pair is generated. Is this the expected
behaviour? It seems counter-intuitive to me.
BTW, I'm running OSG version 1.2 on a SUSE 10 linux box. I'm using
osgProducer as my window interface.
Thanks for the help.
Paul Brewster
Data Visualization and Analysis Lab
NASA Langley Research
Center
_______________________________________________
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/