Yeah I've been trying them all this whole time.
Ok well that worked. When the button is unpressed output is 0v and when pressed output is 3.3v
So when the button is unpressed the input pin is pulled high to 3.3V with a 10K resistor. Then the Not gate switches it to 0V on the output.
You can put the AND gate and attach the inputs to K1 and K2 so the LED will only be lit if both buttons are not pushed. Push either one or both and the LED should go off.
you can put a NOT gate on each input before going to the AND gate so that the LED only lights up when both buttons are pushed.
This is the schematic part of your buttons:
The DE0-Nano dip switch is wired like your buttons are:
Now your first dip switch is wired to bring the pin to 3.3 when closed or floating when open. I'm not sure what this does since they don't show any other resistor or ground connection.
The other dip switch grounds the pin when closed, or leaves the pin floating when open.
Schematic:
If the pins are pulled high somewhere else (not shown in the schematic) maybe you will have more luck with the other set of switches in U6 PIN_54 and PIN_53, that will force the pins to ground when closed. You can start with just the NOT test on PIN_54 to see if it toggles between 0 and 3.3V
I don't understand if the U5 dip switch is supposed to be pulled low to ground and not shown on the schematic and U6 dip is supposed to be pulled high (like the buttons) but not shown on the schematic either. So both set of switches might be useless unless they have un-populated resistors under them somehow.
Edit: on top of all that there are two other connectors with pull high and the other with 3.3V/GND and a pin.
I wished I knew Chinese to translate all of the blocks on the schematic. But I hope they have something to do with the dip switches ground or 3.3V connections.