Backlight support. TOUCH events feed backlight_keepalive(); After a timeout, we fade the backlight to 0 using timers. When the backlight is not active, TOUCH events are not passed to widgets, but the backlight is re-enabled; Add some flags to mos.yml to drive timeout and PWM pin for the backlight on Featherwing
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
|
||||
#include "widget.h"
|
||||
#include "screen.h"
|
||||
#include "backlight.h"
|
||||
|
||||
void widget_time_ev(int ev, struct widget_t *w, void *ev_data);
|
||||
|
||||
|
Reference in New Issue
Block a user