I tried with two different gamepad controllers and it worked fine. Could it be because you are using a gamepad that is not supported in your windows like PS5 controller?
Would love to know what you are using.
first one was an XBOX 360 controllersecond was a ps4 controller using DS4Windows to emulate a 360 controller.Both had the same result