aboutsummaryrefslogtreecommitdiffstats
path: root/src/displayapp/screens/settings/SettingWakeUp.cpp
Commit message (Collapse)AuthorAgeFilesLines
* set static text as static text (#2312)lmamane2025-06-121-3/+1
| | | | | and save a few bytes of heap memory Co-authored-by: Lionel Elie Mamane <lionel@mamane.lu>
* lowersleep: Implement Lower to Sleep functionality (#827)FintasticMan2023-08-271-3/+3
|
* screens: Remove unused DisplayApp parametersRiku Isokoski2023-02-251-2/+1
|
* screens: Remove explicit Screen constructorsRiku Isokoski2023-02-251-1/+1
| | | | | This constructor didn't do anything since DisplayApp reference was removed from the Screen base class.
* Optimize SettingWakeUpRiku Isokoski2022-12-181-59/+28
|
* More timeout options and improved checkbox alignmentRiku Isokoski2022-08-021-4/+4
|
* Fix warningsRiku Isokoski2022-04-251-2/+2
|
* Added Shake to wakeTim Keller2022-01-041-0/+8
|
* Update includes to to be relative to src directoryReinhold Gschweicher2021-11-151-1/+1
| | | | | | | Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
* Merge branch 'develop' into refresh_reworkRiku Isokoski2021-08-031-1/+1
|\
| * Add new unique icons for some appsRiku Isokoski2021-07-251-1/+1
| |
* | Refresh reworkRiku Isokoski2021-07-191-4/+0
|/
* Multiple wakeup sources (#290)Kozova12021-07-141-32/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow multiple wakeup modes at the same time. This commit adds multiple wakeup modes support. It does so by storing them as a uint8_t bitfield enum. It changes the following functions: Since multiple modes can be on now, older version would not cut it: WakeUpMode getWakeupMode() -> std::bitset<3> getWakeUpModes() Where each bit corresponds to a WakeUpMode We still need a way to check whether a specific wakeup mode is on, so: bool isWakeUpModeOn(const WakeUpMode mode) This function was changed to work correctly with the new implementation. setWakeUpMode(WakeupMode mode, bool enable) Previously, systemtask would exit SystemTask::OnTouchEvent() if the wake up mode was None or RaiseWrist, to prevent waking up when a touch was received. However, after enabling using multiple WakeUpModes, this caused a bug where when RaiseWrist was checked with SingleTap or DoubleTap, the tap detection wouldn't work. This commit fixes that bug. Next commit will update the settings WakeUpMode select UI to reflect these changes. Signed-off-by: Kozova1 <mug66kk@gmail.com> * Updated UI to reflect multiple WakeUp sources being available. Signed-off-by: Kozova1 <mug66kk@gmail.com>
* Reformatted all the files according to clang-format styleAvamander2021-04-241-30/+34
|
* Big UI and navigation RewriteJoaquim2021-04-041-0/+107
new navigation add some color to the apps redesign menus new settings menu new quick settings code clean up size reduction by converting navigation images to font and more...