MidnightControls icon indicating copy to clipboard operation
MidnightControls copied to clipboard

Controller Issues: Nintendo Switch Pro Controller

Open M-Ryba opened this issue 3 years ago • 7 comments

As seen in a video, in analog movement mode with Switch Pro controller there is only a minimal input from the left analog stick. When emulating xbox360 controller with it, it works fine other controllers also work fine (i tested dualsense and dualshock). Without analog movement it works fine. I checked if my left stick outputs full range in windows, steam and ds4windows and it does. Also tried the SDL2 mapping and it doesn't change anything.

https://user-images.githubusercontent.com/34245941/166159331-8dfd7278-e20a-4be7-af9d-c6a3ebdff93f.mp4

M-Ryba avatar May 01 '22 18:05 M-Ryba

Try changing the max value settings in the controller options

Motschen avatar May 01 '22 18:05 Motschen

I tried and it just acts as if the left analog stick was a digital input (0 and some low percent), so if I set it to for example 40% then at first nothing happens and then at some point when pushing the stick suddenly I begin walking, just faster (still not analog movement). Again, camera movement works fine (analog and all) and other controllers work fine too.

M-Ryba avatar May 01 '22 20:05 M-Ryba

That's really weird, I'll try looking into this, but I don't own a Switch Pro controller myself, so idk if I can fix it

Motschen avatar May 03 '22 10:05 Motschen

i cant even get my switch pro to connect to the mod

drakosoldier298 avatar May 11 '22 00:05 drakosoldier298

While I cannot replicate this specific issue, I've noticed that on a Switch Pro, if the settings are left at default, cardinal directions like forward and strafing reach full speed fine, but diagonals slow to a crawl. This may be because a diagonal cannot be interpreted as max speed while restricted by the controller's circular gate, likely because the mod is interpreting a square gate as maximum input instead. I can't say for sure because there's no graphical test of the mod reading the analog values.

To remedy, I've lowered the dead zone and axis max values, and after this I can reach max speed with some compromise to my range of analog movement. But that's what the Sneak key is for in Minecraft when movement was digital.

DamianS-eng avatar Jul 15 '22 15:07 DamianS-eng

Can replicate the behavior with Switch Pro as well

Aleksanaa avatar Dec 16 '24 11:12 Aleksanaa

I'm on a Silicon Mac using my Pro Controller, and while it connects, the mod doesn't seem to recognize any inputs from my controller, plugged in or wireless.

vercte avatar Feb 06 '25 02:02 vercte