Would that work?
Also i think there should be something between the button and ground to protect it from short circuit,
if i plug the wire into vcc by accident(its right next to the pins of the shield)
the arduino crashes and sets it to a high output?
i gonna have to live with a dozen of resistors on breadboards.
About the wire to 5V, i meant accidentially plugging the wire from the button into 5v instead of the input, when the button is connected to ground on the other side...
While the one input you are selecting would have a pull up resistor on it all the other un-addressed inputs to the multiplexer would be floating and for a multiplexer that is a bad thing and causes cross talk on the channel you have selected.