Push button polling

Something else that is driving me nuts at the moment - I have three push buttons on my greenhouse controller, one starts a procedure to set the clock, another accepts a question while the other rejects it and moves to the next question. Can anyone suggest a simple routine?

single press for 'yes', double-press for 'no'.

long press for 'yes', short press for 'no'

repeated presses to choose the answer, press the function button to select that answer.

Like this?

Read button 1s, turn on Green & Red LED. Press button with Green LED to continue, maybe dialing knobs to select time digits or something. Once digits are entered, press Green again to accept the time. Press button with Red LED to clear all and look for button 1 to be pressed again.