mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2026-01-29 12:22:22 +01:00
Vibrations should be associated with something happening on the UI. Therefore SystemTask should not be controlling the motor.
39 lines
785 B
C++
39 lines
785 B
C++
#pragma once
|
|
#include <cstdint>
|
|
|
|
namespace Pinetime {
|
|
namespace System {
|
|
enum class Messages : uint8_t {
|
|
GoToSleep,
|
|
GoToRunning,
|
|
TouchWakeUp,
|
|
OnNewTime,
|
|
OnNewNotification,
|
|
OnTimerDone,
|
|
OnNewCall,
|
|
BleConnected,
|
|
UpdateTimeOut,
|
|
BleFirmwareUpdateStarted,
|
|
BleFirmwareUpdateFinished,
|
|
OnTouchEvent,
|
|
HandleButtonEvent,
|
|
HandleButtonTimerEvent,
|
|
OnDisplayTaskSleeping,
|
|
EnableSleeping,
|
|
DisableSleeping,
|
|
OnNewDay,
|
|
OnNewHour,
|
|
OnNewHalfHour,
|
|
OnChargingEvent,
|
|
OnPairing,
|
|
SetOffAlarm,
|
|
MeasureBatteryTimerExpired,
|
|
BatteryPercentageUpdated,
|
|
LowBattery,
|
|
StartFileTransfer,
|
|
StopFileTransfer,
|
|
BleRadioEnableToggle
|
|
};
|
|
}
|
|
}
|