Just to make sure: you are using an external pull-up resistor and the button is wired between pin and ground?