I couldn't find any examples using the buttons and leds so I've made a quick demo here:
I used the schematic to work out the pcf.
I was only able to get button s3 and s4 to work, and only controlled leds 1 and 2.
My dip switches aren't soldered but I tried with a wire and couldn't change anything.
I think they are only wired to the ARM chip.