Merge "[Gesture Library Integration] Update the check for motion events on trackpad"