so when you say put a 10k R and a 0.1uf C across the input..
Please read the words, I did not say that I, said:-
First off try a 10K pull up resistor and a 0.1uF capacitor across the input.
So that is a 10K pull up resistor, that is a resistor from the input to the +5V line. AND a capacitor across the input.
So across each switch put the capacitor. Of the two wires from the switch one will go to ground and the other to an arduino pin input. Put the resistor from the arduino pin input to the +5v line.
can you expand? what switch?
Those things you have on your PCB are switches. You are calling them sensors but at the end of the day all they are doing is making or breaking a connection between the two terminals which is what a switch is.
I guess there isnt a good way to do this is code?
Yes lots of good ways. they involve not looking at the switch for a length of time after a contact has been detected.