[osg-users] X11 keyboard bug (+ ugly fix)
Melchior FRANZ
melchior.franz at gmail.com
Tue Feb 5 14:14:56 PST 2008
* 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.
More information about the osg-users
mailing list