Add side button layout configuration while on reader (#147)

## Summary

Allow swapping the side button layout between *next page - prev page*
and *prev page - next page* while reading
This commit is contained in:
Yona
2025-12-29 21:17:10 +11:00
committed by GitHub
parent f3d5090050
commit 25e70ff83c
4 changed files with 36 additions and 9 deletions
+5 -1
View File
@@ -9,7 +9,7 @@
// Define the static settings list
namespace {
constexpr int settingsCount = 7;
constexpr int settingsCount = 8;
const SettingInfo settingsList[settingsCount] = {
// Should match with SLEEP_SCREEN_MODE
{"Sleep Screen", SettingType::ENUM, &CrossPointSettings::sleepScreen, {"Dark", "Light", "Custom", "Cover"}},
@@ -24,6 +24,10 @@ const SettingInfo settingsList[settingsCount] = {
SettingType::ENUM,
&CrossPointSettings::frontButtonLayout,
{"Bck, Cnfrm, Lft, Rght", "Lft, Rght, Bck, Cnfrm"}},
{"Side Button Layout (reader)",
SettingType::ENUM,
&CrossPointSettings::sideButtonLayout,
{"Prev, Next", "Next, Prev"}},
{"Check for updates", SettingType::ACTION, nullptr, {}},
};
} // namespace