Hello, I need to take a single wire and have it activate one of two different relays depending on polarity. For example a negative pulse would energise relay 1, a positive pulse would activate relay 2. Pulses would always be separate and momentary.
It is part of a larger circuit, but the rest I am confident with and I'm trying to keep this simple in the hope of some advice. The specific issue I would like assistance with, is how to connect the two relays to a single input without them bypassing the switch, or an improved design to avoid this. Some variation of diodes may work but I am out of my depth. A quick diagram below, 12V automotive application.

It is part of a larger circuit, but the rest I am confident with and I'm trying to keep this simple in the hope of some advice. The specific issue I would like assistance with, is how to connect the two relays to a single input without them bypassing the switch, or an improved design to avoid this. Some variation of diodes may work but I am out of my depth. A quick diagram below, 12V automotive application.
