hid_to_vpad icon indicating copy to clipboard operation
hid_to_vpad copied to clipboard

switch pro controller left stick dead zone

Open iRagheb opened this issue 6 years ago • 4 comments

i can connect my pro controller to my wii u through usb or pc, everything works fine but the left stick, i can't go up or right only a little (my character walkes very slow) but going down or left works just fine, would appreciate your help.

iRagheb avatar Jul 23 '18 11:07 iRagheb

I'm running into this exact issue as well. Just trying to play Wind Waker HD with a Switch Pro Controller.

aaronlink127 avatar Aug 25 '18 21:08 aaronlink127

Its been a while, but I recently ran into this as well. I played with the min/max and got it working properly. Put this line in your switchpro.ini config:

//Twilight Princess Y axis fix VPAD_L_STICK_Y_MINMAX = 0x32,0x96

Or grab the whole config: switchpro.ini

JoeSchmo2840 avatar Oct 27 '19 15:10 JoeSchmo2840

Hey, I know this is old now, but can you help me make that code work? I tried it and it just seems to worsen the "drift".

ZeldaVerde48 avatar Jul 10 '21 09:07 ZeldaVerde48

Ok, so, this is the best thing I could come up with without knowing much about the subject (Basically just trial and error)

VPAD_L_STICK_X_DEADZONE = 0x11 VPAD_L_STICK_Y_DEADZONE = 0x11 VPAD_R_STICK_X_DEADZONE = 0x11 VPAD_R_STICK_Y_DEADZONE = 0x11 VPAD_L_STICK_Y_MINMAX = 0x32,0x96 VPAD_L_STICK_X_MINMAX = 0x32,0x96

It still isn't perfect, the controller is too sensible when tilting down, and also you can't run full speed to top left, but it's better than vanilla was, and is playable.

ZeldaVerde48 avatar Jul 11 '21 02:07 ZeldaVerde48