Files
Momentum-Firmware/applications/services/desktop/views/desktop_events.h

69 lines
1.8 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,
DesktopHwMismatchExit,
DesktopEnclaveExit,
// Global events
DesktopGlobalBeforeAppStarted,
DesktopGlobalAfterAppFinished,
DesktopGlobalAutoLock,
DesktopGlobalApiUnlock,
DesktopGlobalSaveSettings,
DesktopGlobalReloadSettings,
DesktopMainEventLockKeypad,
DesktopLockedEventOpenPowerOff,
DesktopLockMenuEventSettings,
DesktopLockMenuEventLockKeypad,
DesktopLockMenuEventLockPinOff,
DesktopLockMenuEventMomentum,
} DesktopEvent;