2022-01-02 21:39:56 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
typedef enum {
|
|
|
|
DesktopMainEventOpenLockMenu,
|
|
|
|
DesktopMainEventOpenArchive,
|
2022-06-10 12:38:16 +00:00
|
|
|
DesktopMainEventOpenFavoritePrimary,
|
|
|
|
DesktopMainEventOpenFavoriteSecondary,
|
2022-01-02 21:39:56 +00:00
|
|
|
DesktopMainEventOpenMenu,
|
|
|
|
DesktopMainEventOpenDebug,
|
2022-04-18 12:34:18 +00:00
|
|
|
DesktopMainEventOpenPassport, /**< Broken, don't use it */
|
2022-06-10 13:29:25 +00:00
|
|
|
DesktopMainEventOpenPowerOff,
|
2022-02-10 18:17:41 +00:00
|
|
|
|
|
|
|
DesktopLockedEventUnlocked,
|
|
|
|
DesktopLockedEventUpdate,
|
|
|
|
DesktopLockedEventShowPinInput,
|
|
|
|
|
|
|
|
DesktopPinInputEventResetWrongPinLabel,
|
|
|
|
DesktopPinInputEventUnlocked,
|
|
|
|
DesktopPinInputEventUnlockFailed,
|
|
|
|
DesktopPinInputEventBack,
|
|
|
|
|
|
|
|
DesktopPinTimeoutExit,
|
|
|
|
|
2022-01-02 21:39:56 +00:00
|
|
|
DesktopDebugEventDeed,
|
|
|
|
DesktopDebugEventWrongDeed,
|
|
|
|
DesktopDebugEventSaveState,
|
|
|
|
DesktopDebugEventExit,
|
2022-02-10 18:17:41 +00:00
|
|
|
|
2022-01-02 21:39:56 +00:00
|
|
|
DesktopFirstStartCompleted,
|
|
|
|
DesktopFirstStartPoweroff,
|
2022-02-10 18:17:41 +00:00
|
|
|
|
2022-01-02 21:39:56 +00:00
|
|
|
DesktopLockMenuEventLock,
|
|
|
|
DesktopLockMenuEventPinLock,
|
|
|
|
DesktopLockMenuEventExit,
|
2022-02-10 18:17:41 +00:00
|
|
|
|
|
|
|
DesktopAnimationEventCheckAnimation,
|
|
|
|
DesktopAnimationEventNewIdleAnimation,
|
|
|
|
DesktopAnimationEventInteractAnimation,
|
|
|
|
|
2022-03-28 13:42:31 +00:00
|
|
|
// Global events
|
|
|
|
DesktopGlobalBeforeAppStarted,
|
|
|
|
DesktopGlobalAfterAppFinished,
|
2022-04-14 12:20:41 +00:00
|
|
|
DesktopGlobalAutoLock,
|
2022-01-02 21:39:56 +00:00
|
|
|
} DesktopEvent;
|