nihilbaxter85:
...to combine a few buttons in an analog input.. will keep you posted!
this (saving on input pins) can also be achieved using shift registers.
instead of using those resistor ladder networks, have a look at this;
https://playground.arduino.cc/Code/ShiftRegSN74HC165N