Merge "Use new input manager API."