More like 5 pin DIN connectors (MIDI) but different. If you take a lot at old electronics you will see things for the first time.
But in the XT/AT days mice just connected to the serial port with a 9 pin D sub. Mice weren't all that common in those days anyway as most programs were still text based.