So mods please move accordingly

Right I've just bought a ukdm 4th gen prelude. It has the Jdm H22a fitted and running with the original uk Ecu.
Now I want to fit the Jdm Ecu to gain full benefit. I've been told the only difference is the Jdm unit will have a knock sensor which ins't an issue at the minuet as the uk Ecu isn't looking for it.
So to install the p13 jdm Ecu I'd have to add the wiring for the knock sensor, am I right in thinking I can grab the switch off another car then solder the length of required wire to it then insert into the back of connector D pin 3.
Is this correct and would it work?