The switching looks quite straight forward. I was thinking about making a circuit that does the following:
- push the close button on the key once: close doors. (standard)
- push the close button on the key twice: engage so called superlock. (standard)
- push and hold the key for one second: close doors and fold mirrors.
Of course folding mirrors and superlock have to work together, too.
Can't be to hard
if there is some signal in the car that is active as long as you press the button.
If I ever succeed, I'll let you know.
K.