>>12663621do you have a dmm? that's step one for doing anything with electronics. with it you could work out the pinouts and behavior of the two sticks.
i want to say n64 sticks were had slotted wheels and an led/photodiode pair to detect motion. i'd wager newer sticks are simply potentiometers. if that's the case, their theory of operation is completely different and they aren't interchangeable