UKHeliBob:
Sorry, but I am still not clear how the inputs are wired. Is the input pin permanently connected to GND or 5V via a resistor and if so what is its value ? When the button is pressed is the pin taken to GND or 5V ?
Here are some images, but it goes from 5V to the positive part of the breadboard then from there to the horizontal part then a jumper to the button, then a jumper from the button to the breadboard then a jumper to pin 3 and the other cable is to power up a motor when the connection completes as the button is pushed down, that motor has its GND connected to the negative part of the breadboard and the button just ends with a bridge made by a resistance to the negative part of the breadboard
https://drive.google.com/folderview?id=10LlTEIIl0Xh2nonxtpyPydoRTOlw_t5F