It shouldn't affect the warranty unless you damage something. You should use the same connectors so that you can put it in or take it out, and nobody would know. Naturally, if you changed the connectors, and did an amateurish job, then later the controller stopped working, the dealer will be very suspicious whether you caused the fault.