blob: 4ce00ce2a77c72297a9bb33eece05017626eaec4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#include "fake_widget_2.h"
void fake_widget_2_setup(LauncherSettings *settings, void ** context_ptr) {
(void) settings;
*context_ptr = NULL;
}
void fake_widget_2_activate(LauncherSettings *settings, void *context) {
(void) settings;
(void) context;
}
void fake_widget_2_loop(LauncherEvent event, LauncherSettings *settings, void *context) {
(void) settings;
(void) context;
switch (event) {
case EVENT_MODE_BUTTON_UP:
launcher_move_to_next_widget();
break;
case EVENT_LIGHT_BUTTON_UP:
launcher_illuminate_led();
break;
default:
break;
}
}
void fake_widget_2_resign(LauncherSettings *settings, void *context) {
(void) settings;
(void) context;
}
|