How to make a screensaver with TouchGFX?
Could you please provide some advice or example code on how best to create a screensaver using TouchGFX?
I am looking for the classic screensaver functionality: if someone touched the display with their finger whatsoever, then the screensaver counter should reset.
When the counter reaches a threshold, then there is a transition to some kind of "screensaver screen". This could even be a Modal Box. After touching the device again, increase again the screen brightness and enter some password if necessary, to go back to the screen where the user was at previously.
I have not found a way to insert some kind of callback function into some kind of "has the screen been touched?" function. Where can I find this "has the screen been touched?" function in the TouchGFX stack, and how can I add some user level code to this?
Would appreciate any answers or tips.
Cheers!