2025-01-31 19:25:52 +07:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <furi.h>
|
|
|
|
|
#include <furi_hal.h>
|
|
|
|
|
#include <gui/gui.h>
|
|
|
|
|
#include <gui/view.h>
|
|
|
|
|
#include <gui/view_dispatcher.h>
|
|
|
|
|
#include <gui/modules/variable_item_list.h>
|
2025-02-02 14:57:41 +07:00
|
|
|
#include <input/input.h>
|
|
|
|
|
#include <lib/toolbox/value_index.h>
|
|
|
|
|
#include <furi_hal_vibro.h>
|
|
|
|
|
#include <storage/storage.h>
|
2025-01-31 19:25:52 +07:00
|
|
|
|
2025-02-02 14:57:41 +07:00
|
|
|
|
|
|
|
|
// input_settings_app stucture
|
2025-01-31 19:25:52 +07:00
|
|
|
typedef struct {
|
2025-02-02 14:57:41 +07:00
|
|
|
//InputService* inputservice; //link to input_sevice with they setings and events
|
2025-01-31 19:25:52 +07:00
|
|
|
Gui* gui;
|
|
|
|
|
ViewDispatcher* view_dispatcher;
|
|
|
|
|
VariableItemList* variable_item_list;
|
2025-02-02 14:57:41 +07:00
|
|
|
InputSettings* settings;
|
2025-01-31 19:25:52 +07:00
|
|
|
} InputSettingsApp;
|
|
|
|
|
|
|
|
|
|
// list of menu views for view dispatcher
|
|
|
|
|
typedef enum {
|
|
|
|
|
InputSettingsViewVariableItemList,
|
|
|
|
|
} InputSettingsView;
|