unleashed-firmware/applications/main/subghz_remote/helpers/subrem_custom_event.h

51 lines
1.4 KiB
C
Raw Normal View History

2023-05-18 10:48:25 +00:00
#pragma once
2023-07-14 09:59:58 +00:00
typedef enum {
SubRemEditMenuStateUP = 0,
SubRemEditMenuStateDOWN,
SubRemEditMenuStateLEFT,
SubRemEditMenuStateRIGHT,
SubRemEditMenuStateOK,
} SubRemEditMenuState;
2023-05-18 10:48:25 +00:00
typedef enum {
2023-05-30 17:27:15 +00:00
// StartSubmenuIndex
2023-05-30 13:51:07 +00:00
SubmenuIndexSubRemOpenMapFile = 0,
2023-07-14 09:59:58 +00:00
SubmenuIndexSubRemEditMapFile,
SubmenuIndexSubRemNewMapFile,
2023-05-30 13:51:07 +00:00
#if FURI_DEBUG
2023-05-18 10:48:25 +00:00
SubmenuIndexSubRemRemoteView,
2023-05-30 13:51:07 +00:00
#endif
// SubmenuIndexSubRemAbout,
2023-05-18 10:48:25 +00:00
2023-07-14 09:59:58 +00:00
// EditSubmenuIndex
EditSubmenuIndexEditLabel,
EditSubmenuIndexEditFile,
2023-05-30 13:51:07 +00:00
// SubRemCustomEvent
2023-05-18 10:48:25 +00:00
SubRemCustomEventViewRemoteStartUP = 100,
SubRemCustomEventViewRemoteStartDOWN,
SubRemCustomEventViewRemoteStartLEFT,
SubRemCustomEventViewRemoteStartRIGHT,
SubRemCustomEventViewRemoteStartOK,
SubRemCustomEventViewRemoteBack,
SubRemCustomEventViewRemoteStop,
SubRemCustomEventViewRemoteForcedStop,
2023-07-14 09:59:58 +00:00
SubRemCustomEventViewEditMenuBack,
SubRemCustomEventViewEditMenuUP,
SubRemCustomEventViewEditMenuDOWN,
SubRemCustomEventViewEditMenuEdit,
SubRemCustomEventViewEditMenuSave,
SubRemCustomEventSceneEditsubmenu,
SubRemCustomEventSceneEditLabelInputDone,
SubRemCustomEventSceneEditLabelWidgetAcces,
SubRemCustomEventSceneEditLabelWidgetBack,
SubRemCustomEventSceneEditOpenSubErrorPopup,
SubRemCustomEventSceneEditPreviewSaved,
SubRemCustomEventSceneNewName,
2023-05-18 10:48:25 +00:00
} SubRemCustomEvent;