mirror of
https://github.com/UberGuidoZ/Flipper.git
synced 2024-12-23 15:00:13 +00:00
31 lines
638 B
C
31 lines
638 B
C
|
#pragma once
|
||
|
|
||
|
#include <gui/gui.h>
|
||
|
#include <gui/view.h>
|
||
|
#include <gui/view_dispatcher.h>
|
||
|
#include <gui/modules/submenu.h>
|
||
|
#include <gui/modules/dialog_ex.h>
|
||
|
|
||
|
#include "views/bt_mouse.h"
|
||
|
#include "views/usb_mouse.h"
|
||
|
#include "views/calibration.h"
|
||
|
|
||
|
typedef struct {
|
||
|
Gui* gui;
|
||
|
ViewDispatcher* view_dispatcher;
|
||
|
Submenu* submenu;
|
||
|
DialogEx* dialog;
|
||
|
BtMouse* bt_mouse;
|
||
|
UsbMouse* usb_mouse;
|
||
|
Calibration* calibration;
|
||
|
uint32_t view_id;
|
||
|
} AirMouse;
|
||
|
|
||
|
typedef enum {
|
||
|
AirMouseViewSubmenu,
|
||
|
AirMouseViewBtMouse,
|
||
|
AirMouseViewUsbMouse,
|
||
|
AirMouseViewCalibration,
|
||
|
AirMouseViewExitConfirm,
|
||
|
} AirMouseView;
|