Two button two option

the buttons connect different size resistors to a voltage divider where the voltage is measured using a single pin. i've seen this on vacuum cleaners

don't you have buttons connected to separate pins?