mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-21 02:03:18 +00:00
58 lines
1.5 KiB
C
58 lines
1.5 KiB
C
#pragma once
|
|
|
|
typedef enum {
|
|
DesktopMainEventLock,
|
|
DesktopMainEventOpenLockMenu,
|
|
DesktopMainEventOpenArchive,
|
|
DesktopMainEventOpenFavoriteLeftShort,
|
|
DesktopMainEventOpenFavoriteLeftLong,
|
|
DesktopMainEventOpenFavoriteRightShort,
|
|
DesktopMainEventOpenFavoriteRightLong,
|
|
DesktopMainEventOpenMenu,
|
|
DesktopMainEventOpenDebug,
|
|
DesktopMainEventOpenPowerOff,
|
|
|
|
DesktopDummyEventOpenLeft,
|
|
DesktopDummyEventOpenDown,
|
|
DesktopDummyEventOpenOk,
|
|
|
|
// TODO add long press in Dummy mode & RightLong
|
|
DesktopDummyEventOpenUpLong,
|
|
DesktopDummyEventOpenDownLong,
|
|
DesktopDummyEventOpenLeftLong,
|
|
|
|
DesktopLockedEventUnlocked,
|
|
DesktopLockedEventUpdate,
|
|
DesktopLockedEventShowPinInput,
|
|
DesktopLockedEventDoorsClosed,
|
|
|
|
DesktopPinInputEventResetWrongPinLabel,
|
|
DesktopPinInputEventUnlocked,
|
|
DesktopPinInputEventUnlockFailed,
|
|
DesktopPinInputEventBack,
|
|
|
|
DesktopPinTimeoutExit,
|
|
|
|
DesktopDebugEventDeed,
|
|
DesktopDebugEventWrongDeed,
|
|
DesktopDebugEventSaveState,
|
|
DesktopDebugEventExit,
|
|
|
|
DesktopLockMenuEventLock,
|
|
DesktopLockMenuEventDummyModeOn,
|
|
DesktopLockMenuEventDummyModeOff,
|
|
DesktopLockMenuEventStealthModeOn,
|
|
DesktopLockMenuEventStealthModeOff,
|
|
|
|
DesktopAnimationEventCheckAnimation,
|
|
DesktopAnimationEventNewIdleAnimation,
|
|
DesktopAnimationEventInteractAnimation,
|
|
|
|
DesktopSlideshowCompleted,
|
|
DesktopSlideshowPoweroff,
|
|
|
|
// Global events
|
|
DesktopGlobalBeforeAppStarted,
|
|
DesktopGlobalAfterAppFinished,
|
|
DesktopGlobalAutoLock,
|
|
} DesktopEvent;
|