I've already tried to match the resistance to the joystick, not working. Plus it would help if I knew how the n64 controller works with a potentiometer.
Unfortunately I don't know how to measure pots but I'll tell you what I know. The pots lowest is 1K and the highest is around 10K and idle is 6K. And using 10K on each line coming from the n64 causes mario to run backwards all the time even when the joystick is idle so 16K is to high. I also think that the gamecube joystick is 15K pot so 16K is too much.
kk here's my 5 cents about potentiometers, joysticks and physics.
potentiometers generally have three pins, to test the resistance you'd have one side of the multimeter in the middle and one on the side, then you'd set the multimeter to ohms and check the reading when the pot is neutral, far left and far right, this is for the X axis. for the Y axis same thing except up/down.
My controller has 4 pins. You can see pics of it on my joystick guide on benheck. The part that really confuses me is that two of the pins are bridged, which means that the line is going straight to ground. Yeah confusing.
I think I'm going to experiment with a gamecube controller since I know that works. Should help me understand how the 64 controller works with the joystick.