I'm not sure what you are trying to do with your buttons but since you have those inputs declared as INPUT_PULLUP then you only need the buttons connected to GND and the inputs. Not sure about those resistors.
I'm not sure what you are trying to do with your buttons but since you have those inputs declared as INPUT_PULLUP then you only need the buttons connected to GND and the inputs. Not sure about those resistors.