Merge "Apply input resampling for motion events of ToolType::MOUSE and STYLUS" into main