Before
09441b496c6b40be151e4e655572cb37518e7225, the logic used "% 3",
which effectively converted 0b11 input to 0. Since the mod operation
is slow and code expensive, it was removed. Therefore the off condition
state has changed to 0b11.
BTN_PB_DOWN = 0,
BTN_PB_UP,
BTN_PB_DOWN = 0,
BTN_PB_UP,
BTN_RS_LEFT,
BTN_RS_RIGHT,
BTN_RS_LEFT,
BTN_RS_RIGHT,
};
/* Read the current state of the pushbutton */
};
/* Read the current state of the pushbutton */