get the modifier mask for a modifier key that is pressed/released more accurately...