How to reproduce:
1. Open the attached “IN-77283” project
2. Connect a gamepad
3. Open the “SampleScene” and enter Play mode
4. Click anywhere in the Game window
5. Press any button on the gamepad
6. Observe the result in the Console window
Expected result: The last registered event is triggered by the gamepad
Actual result: The last registered event is triggered by the mouse
Reproducible in: 1.7.0 (2021.3.39f1, 2022.3.32f1), 1.8.2 (2021.3.39f1, 2022.3.32f1, 6000.0.5f1)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: Also reproducible in Player