What happens to 2 INPUT_PULLUP linked together?
If both have similar Vdd and shared gnd then no signal current is shared but the switch to gnd will drive each input separately. Use twisted pair for better immunity to stray pulse noise and add C to debounce xx millisecond.