Files
Momentum-Firmware/applications/services/desktop/views/desktop_events.h
2024-02-09 02:40:50 +00:00

63 lines
1.7 KiB
C

#pragma once
typedef enum {
// Events with _ are unused, kept for compatibility
DesktopMainEventLockWithPin,
DesktopMainEventOpenLockMenu,
DesktopMainEventOpenArchive,
_DesktopMainEventOpenFavoriteLeftShort,
_DesktopMainEventOpenFavoriteLeftLong,
_DesktopMainEventOpenFavoriteRightShort,
_DesktopMainEventOpenFavoriteRightLong,
DesktopMainEventOpenMenu,
_DesktopMainEventOpenDebug,
DesktopMainEventOpenPowerOff,
_DesktopDummyEventOpenLeft,
_DesktopDummyEventOpenDown,
_DesktopDummyEventOpenOk,
DesktopLockedEventUnlocked,
DesktopLockedEventUpdate,
DesktopLockedEventShowPinInput,
DesktopLockedEventCoversClosed,
DesktopPinInputEventResetWrongPinLabel,
DesktopPinInputEventUnlocked,
DesktopPinInputEventUnlockFailed,
DesktopPinInputEventBack,
DesktopPinTimeoutExit,
_DesktopDebugEventDeed,
_DesktopDebugEventWrongDeed,
_DesktopDebugEventSaveState,
_DesktopDebugEventExit,
DesktopLockMenuEventLockPinCode,
_DesktopLockMenuEventDummyModeOn,
_DesktopLockMenuEventDummyModeOff,
DesktopLockMenuEventStealthModeOn,
DesktopLockMenuEventStealthModeOff,
DesktopAnimationEventCheckAnimation,
DesktopAnimationEventNewIdleAnimation,
DesktopAnimationEventInteractAnimation,
DesktopSlideshowCompleted,
DesktopSlideshowPoweroff,
// Global events
DesktopGlobalBeforeAppStarted,
DesktopGlobalAfterAppFinished,
DesktopGlobalAutoLock,
DesktopGlobalApiUnlock,
DesktopMainEventLockKeypad,
DesktopLockedEventOpenPowerOff,
DesktopLockMenuEventSettings,
DesktopLockMenuEventLockKeypad,
DesktopLockMenuEventLockPinOff,
DesktopLockMenuEventXtreme,
} DesktopEvent;