@RaptorUK mentions “custom Library” and I mentioned “Personal Library”. These are the same library. They are a library you must create. See this FAQ for how to create Personal Libraries.
-
Create a personal library as per the link just above and name that personal library “My Pots” (or whatever you choose).
-
Open the Symbol Editor in Kicad.
-
Scroll to the Pots in the Kicad Device Library to find a suitable Pot.
-
Right mouse click on the suitable Pot symbol and a window will open.
-
Left mouse click the “save as” and a new window will open.
-
At the top of this new window will appear the name of the Kicad Pot. Give it a new name and Save.
-
Find a SPST switch from the Kicad Switch library, make a left to right box selection of the switch image and then “Copy” (DO NOT Save as) that image.
-
Reopen your new POT/SW symbol in your new Personal Library and Paste the switch below the pot.
-
Change the grid to very fine and placed some line segments to symbolise the sweep pin of the pot and the switch section were connected mechanically.
-
Finally, change the pin numbers on the switch part to Nos. 4 & 5. and Save.