Merge "Register input monitor for trackpad only when trackpad is attached" into main