Another way to select input method. I almost said, it has a disadvantage that if your gamepad is sitting upside down so there’s pressure on a thumbstick, you would be frustrated that the mouse aiming doesn’t work. But then, that’s also the case in the course’s solution.
This has the advantage that, not that many would do this, you can change input methods on the fly just by picking up the gamepad and using it, or putting it down (upright!) and using the mouse.
Gamepad overrides mouse because mice get bumped so easily.