Two Pushbuttons on One Input for More I/O

I would want to measure the actual voltage at the input pin when no switches are pressed to see if a valid logic voltage is present. A high value pull down with the internal pull up enabled may not be valid.

Using a triple voltage divider wired to a analog input pin is a better solution in my opinion.

Lefty