Closed TiVoHomeUser closed 2 years ago
Screens only change in one direction on screen press. I would like to press:
Better user interaction
in loop() replace
screen = (screen + 1) % screenCount;
with
if (p.y < top) { IS_STYLE_12HR = !IS_STYLE_12HR; } else if (p.y > bottom) { // Go to page 0 screen = 0; } else if (p.x > middle) { // Previous page if (screen == 0) { // Note type uint16_t is unsigned screen = screenCount; // Last screen is max -1 } screen--; } else { // Next page screen = (screen + 1) % screenCount; }
Should be else if (p.x > middle)
Added to pull request for Allow user to force a screen re-calibration
Missing feature
Screens only change in one direction on screen press. I would like to press:
Justification
Better user interaction
Workarounds
in loop() replace
with