enaon/ninebot-one-nRF52

Area buttons - reausable and exchangeable positions

Opened this issue · 2 comments

dapgo commented

Idea/feature:
It would be good that code for area "buttons" and code for linked functions are separated and just assigned, so it will make easier to replace code associated to a button or exchange positions.

And especially the EUC button and associated code, because users without a ninebot-one can reuse easily and keeping the code aligned with your original.

enaon commented

Yes, this is a nice idea. I haven't really finished the clock face, the memory button is there just for info during testing, it has no real reason to be there at all in a working watch. The alarm button can/will be moved to the minutes area, so that will be gone too. The euc button is speciefic, so that has no reason to be on the generic watch face as well. So yes, I will seperate this area so that it can be easier customized, thanks.

dapgo commented

I've created a simple menu page but based in coordinates from variables (accessible from face and TouchHandler functions). I add variables to handler file but I think variables should be loaded and unloaded when leaving the page to save RAM.