Four pin stereo sliding potentiometer wiring advice for MIDI controller.

I'm building a MIDI controller. Ordered these 10k slide potentiometers online and didn't notice they had four pins. I tested them with a multimeter and got values to show up. Only thing, when I run my controller through Hairless MIDI the value isn't 0-127. More like half the value (64-127), also will get an error and have to reconnect the device in Hairless.

There a way I can wire the pot so it behaves like a standard sliding pot? Here are photo.

I count 8 pins.

Do you have a link to the datasheet or did you buy them "blindly"?

You should be able to figure-out the 3 important pins with your Ohmmeter. With the slider in the middle you should measure 10K across the ends and 5K between each end and the slider.

Unless it's a "volume" pot (approximately logarithmic). In that case, you should read closer to 1K & 9K with the slider in the middle.

Of course, a normal "stereo" pot has 6 connections.

Some older volume-control pots have an additional fixed connection for a [u]loudness compensation circuit[/u]. So, a stereo volume pot would have 8 connections.

...Or, those additional pins could be for mounting only and/or for grounding the case.