Yes, they do appear to be a different pitch? If that's the correct word!
I used to solder leads to switches and pots with tinned ends for breadboard use.
Now I have a separate pcb with several types of switches, pots and header pins. So whether DPDT, Tactiles, illuminated rockers etc.it's just...