It would have to me a electronic / mechanical action triggered by the pressing of the button say the button set of a bomb.. they if you press the button you did kill the person...
It doesn't matter what kills them, pressing the button leads to the a persons death, if you don't pressed the button they don't die, if you do they do, making you responsible for their death and ergo guilty of murder.