*Most* joysticks use the same pattern. Some don't. All the Happ, Industrias Lorenzo, Betson and Wico sticks I've ever seen use the "standard" pattern.
If you buy used, classic, or specialty sticks, you'll get problems. Older games had a lot of non-standard sticks. I don't think I've ever seen a 2-way stick that fit the standard pattern. Pac/Ms. Pac/Tron, etc. Midway sticks are non-standard. Analog sticks are often different.
edit- removed some wrong info- sometimes I is a dummy-head!