d378ca6fda
* desktop: prompt to power off on back button long press Implemented by launching Power Settings app, passing "off" as arg to directly jump to "power off" scene.
45 lines
1.1 KiB
C
45 lines
1.1 KiB
C
#pragma once
|
|
|
|
typedef enum {
|
|
DesktopMainEventOpenLockMenu,
|
|
DesktopMainEventOpenArchive,
|
|
DesktopMainEventOpenFavoritePrimary,
|
|
DesktopMainEventOpenFavoriteSecondary,
|
|
DesktopMainEventOpenMenu,
|
|
DesktopMainEventOpenDebug,
|
|
DesktopMainEventOpenPassport, /**< Broken, don't use it */
|
|
DesktopMainEventOpenPowerOff,
|
|
|
|
DesktopLockedEventUnlocked,
|
|
DesktopLockedEventUpdate,
|
|
DesktopLockedEventShowPinInput,
|
|
|
|
DesktopPinInputEventResetWrongPinLabel,
|
|
DesktopPinInputEventUnlocked,
|
|
DesktopPinInputEventUnlockFailed,
|
|
DesktopPinInputEventBack,
|
|
|
|
DesktopPinTimeoutExit,
|
|
|
|
DesktopDebugEventDeed,
|
|
DesktopDebugEventWrongDeed,
|
|
DesktopDebugEventSaveState,
|
|
DesktopDebugEventExit,
|
|
|
|
DesktopFirstStartCompleted,
|
|
DesktopFirstStartPoweroff,
|
|
|
|
DesktopLockMenuEventLock,
|
|
DesktopLockMenuEventPinLock,
|
|
DesktopLockMenuEventExit,
|
|
|
|
DesktopAnimationEventCheckAnimation,
|
|
DesktopAnimationEventNewIdleAnimation,
|
|
DesktopAnimationEventInteractAnimation,
|
|
|
|
// Global events
|
|
DesktopGlobalBeforeAppStarted,
|
|
DesktopGlobalAfterAppFinished,
|
|
DesktopGlobalAutoLock,
|
|
} DesktopEvent;
|