ToadKing / wii-u-gc-adapter

Tool for using the Wii U GameCube Adapter on Linux
MIT License
240 stars 42 forks source link

Joystick Calibration / Use With MupeN64 #46

Open Sanzarote opened 4 years ago

Sanzarote commented 4 years ago

I'm not very knowledgeable, so this may be a stupid question. I have m64p (aur) which I use to play Zelda, my GC controller works fine with it thanks to this adapter, apart from the fact that whenever I walk in any direction which doesn't use the notches on the joystick it doesn't seem to register as if I'm fully pushing the joystick in that direction, so I walk really slowly. Is there any way to calibrate it or something to let the analogue stick inputs register correctly? this may be a problem with the emulator, as I haven't tested it with any others yet, but I doubt it. Thanks in advance

Dev2ZooF commented 3 years ago

Hi Sanzarote,

I just had the same problem today. Link didn't want to go upward at full speed...

I just modified this value (line 164 of wii-u-gc-adapter.c) : uinput_dev.absmin[ABS_Y] = 20; to : uinput_dev.absmin[ABS_Y] = 80;

Then it was okay for me.

Hope it helps.

Dev2ZooF commented 2 years ago

I didn't remember I wrote this but that was helpful for me today.

There is 2 differences between then and now, though :

Hope it helps someone, even if it's me again in ~2 years