Hi Melchior,

FWIW, a fix has already been submitted to get rid of this behaviour on the
Win32 platform. The submission is still pending due to corresponding changes
being required on the Linux & OSX platforms. If you're willing to submit
your fix, we'd be one step closer to having this fixed for good...

André

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Melchior
FRANZ
Sent: February-05-08 5:15 PM
To: [email protected]
Subject: Re: [osg-users] X11 keyboard bug (+ ugly fix)

* Bradford, Chase -- Tuesday 05 February 2008:
> On the Windows side, we could explicitly poll a modifier key's state
> before sending an event off to the EventQueue, without relying on
> KEYUP/KEYDOWN synchronization.  However, doing something like that 
> would cause inconsistencies between the platforms, and I don't know 
> if the X11 has a counterpart.    

X11 does, of course, tell you which modifiers are active. But only
which modifier level (shift), not which modifier key (shift_l, shift_r),
so you'd still release keys that were never pressed before. (I'm not
sure if that's really a problem, but it might be.) One would have to
keep track of every single key to avoid it.  :-/

For me *not* fixing that in OSG is not an option. But then again,
it *is* fixed for me in OSG already, so ...  :-)

m.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to