Code:
btn_x = PORTB & %00111110
If btn_x=2 would mean that the other inputs are all low, but PORTB.1