I found a sliding switch at an electronics shop these days.
It is a three position four pin switch. The switching behaviour is very unusual.
In position A pins 1 and 2 are connected, in position B pins 2 and 3 and in position C pins 3 and 4.
There is no problem to understand the switch positions and functions, however how can one create a logic symbol readable in a schematic?
From the pin arrangement it looks like a serial switch, normally connecting pin1 and 2 in position A, pins 1 - 3 in position B and pins 1 - 4 in position C.
I made a symbol and a package for the device.
Please take a look and suggest improvement so it is clearly recognizable.
The connections are A=1-2, B=2-3, C=2-4, pin1 is completely disconnected in positions other than A.
According to your suggestion it slides to connect A=1-2, B=2-3, C=3-4.
It should be plausible if I swap pin 2 to position 3, so the pin sequence should be 1,3,2,4, but this could be misleading too, since position A connects pins 1 and 2, and the slider only connects 2 pins at a time.
Best bet here I think is to show a box on the schematic with a table describing the switch configuration. For PCB just make a symbol that works for your SW. I dunno, that is a tricky one.
For your schematic, I would just show a table. Or your symbol will look real strange. I would just show the pins on the schema, and make a note: See table.
That thing is a normal serial switch with a weird pin connection. Assuming pin2 is the common pin, it connects to pin1, 3 and 4 depending on the switch position.