[osg-users] X11 keyboard bug (+ ugly fix)
André Garneau
andre at pixdev.com
Tue Feb 5 15:38:41 PST 2008
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: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Melchior
FRANZ
Sent: February-05-08 5:15 PM
To: osg-users at lists.openscenegraph.org
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
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
More information about the osg-users
mailing list