(simple) Debouncing 2 button state machine

do you need to recognize a change in button state rather than simply that it is being pressed?