I have the same type on my 2006 Country Coach. The top and bottom button on mine are for the remote door lock and the two center ones are the step control, On the door side you should find that the center contacts have a jumper between them so if you close the door you complete the circuit and with the door open the circuit is open.
You can adjust the tension of the contacts by removing from the door frame and turning the nut on the back.
You can adjust the tension of the contacts by removing from the door frame and turning the nut on the back.