- first short click turns on backlight but leaves screen as it is (for sat navs and whatnot)
- second short click within a second shows clock
- click when clock is present hides it
+ - icon linking to "current apps" in the main screen
- alarm
- vibrate at alarm trigger
- play sound at alarm trigger
public signal void screen_lock_changed(bool state);
- public signal void power_short_press();
+ public signal void power_short_press(Posix.timeval* t);
public signal void power_long_press();
private uint button_press_timeout;
}
if (long_press) power_long_press();
- if (short_press) power_short_press();
+ if (short_press) power_short_press(t);
}
- private void on_power_short_press()
+ private void on_power_short_press(Posix.timeval* t)
{
if (screen_locked)
// Short press: turn on backlight for a bit