-
Notifications
You must be signed in to change notification settings - Fork 0
/
ldtoypad.h
40 lines (33 loc) · 801 Bytes
/
ldtoypad.h
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
33
34
35
36
37
38
39
40
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <furi.h>
#include <gui/gui.h>
#include <gui/view.h>
#include <notification/notification.h>
#include <gui/view_dispatcher.h>
// Include the used views
#include <gui/modules/submenu.h>
#include <gui/modules/dialog_ex.h>
#include "views/EmulateToyPad.h"
#include "views/Settings.h"
typedef struct {
Gui* gui;
// NotificationApp* notifications;
ViewDispatcher* view_dispatcher;
Submenu* submenu;
DialogEx* dialog;
LDToyPadEmulateView* ldtoypad_emulate_view;
uint32_t view_id;
} LDToyPadApp;
typedef enum LDToyPadView {
LDToyPadView_Submenu,
LDToyPadView_EmulateToyPad,
LDToyPadView_Settings,
LDToyPadView_ExitConfirm,
LDToyPadView_SelectionMenu,
} LDToyPadView;
#ifdef __cplusplus
}
#endif