Ok, I did it. Modifiers actually arrive as single keys (with no modifier set) before the key (with the modifier set) arrives. So I first ignore all unmodifed keys matching any from a list of typical modifiers, Shift_L, Control_R, etc.
-- To unsubscribe, send mail to [email protected].
