JohnySeven / TWatchSK

TTGO T-Watch 2020 v1 supporting Signal K features for displaying boat data and controlling devices on board.
MIT License
9 stars 1 forks source link

DRAFT: Boot and Touch enhancements #71

Closed JohnySeven closed 3 years ago

JohnySeven commented 3 years ago

I've added boot up screen showing system startup progress with SK logo and version. I've changed low power timer PowerCode_t::POWER_LOW_TICK to contain real in low power seconds in argument I've changed status bar - removed bottom line, looks neat :100: I've changed how touch is handled in code. It's not using Watch library to handle touch events, looks more stable and also supports touch to wake up feature - still in preview.

JohnySeven commented 3 years ago

@ba58smith I've added the PR for testing purpose. It's work in progress (WIP tagged) but I'm using it for few days now and looks good and works.

Sometimes wake up from touch works after second touch, but it's minor thing for now :-)

JohnySeven commented 3 years ago

I've resolved all your comments and I think it's ready to be merged. Let me know :-)

JohnySeven commented 3 years ago

20211008_180908.jpg

I've implement switch in Wakeup settings to allow user enable or disable screen touch wakeup.

JohnySeven commented 3 years ago

I've made some refactorings to make development of new UI components more simple and more straightforward. Will merge this PR tomorrow if @ba58smith doesn't have any comments.

JohnySeven commented 3 years ago

Will do, thanks 🙂

ba58smith commented 3 years ago

Finally have a chance to test this PR. I notice that the "Touch screen" wakeup leaves the watch on for the normal "Screen timeout" number of seconds. But the "Double tap" wakeup leaves the watch on for only 2 seconds - just long enough to check the time. Did you do that on purpose with the "Touch screen" wakeup?