> Also, multiple > bits seem to be on in KeyCode *inputMap of DoSetModifierMapping() > (although only one modifier is pressed on the keyboard). Actually, this is not true. I incorrectly interpreted the function AllModifierKeysAreUp(). Thanks, Vinay