Move to submenu

This commit is contained in:
jpirnay
2026-05-11 18:38:48 +02:00
parent 2b1dbb6737
commit 5b3f1ad200
+4 -3
View File
@@ -228,21 +228,22 @@ inline const std::vector<SettingInfo> list = {
.withSubmenu(StrId::STR_BTN_POWER),
SettingInfo::Toggle(StrId::STR_TILT_PAGE_TURN, &CrossPointSettings::tiltPageTurn, "tiltPageTurn",
StrId::STR_CAT_CONTROLS)
.withSubcategory(StrId::STR_TILT_PAGE_TURN)
.withSubmenu(StrId::STR_TILT_PAGE_TURN)
.withDeviceTarget(SettingDeviceTarget::X3),
SettingInfo::Enum(StrId::STR_TILT_STABILIZATION, &CrossPointSettings::tiltStabilization,
{StrId::STR_TILT_MODE_RAW, StrId::STR_TILT_MODE_SMOOTH, StrId::STR_TILT_MODE_KALMAN},
"tiltStabilization", StrId::STR_CAT_CONTROLS)
.withSubmenu(StrId::STR_TILT_PAGE_TURN)
.withDeviceTarget(SettingDeviceTarget::X3),
SettingInfo::Enum(StrId::STR_DIR_RIGHT, &CrossPointSettings::tiltPositiveAction,
{StrId::STR_NONE_OPT, StrId::STR_NEXT_PAGE, StrId::STR_PREV_PAGE}, "tiltPositiveAction",
StrId::STR_CAT_CONTROLS)
.withSubcategory(StrId::STR_TILT_PAGE_TURN)
.withSubmenu(StrId::STR_TILT_PAGE_TURN)
.withDeviceTarget(SettingDeviceTarget::X3),
SettingInfo::Enum(StrId::STR_DIR_LEFT, &CrossPointSettings::tiltNegativeAction,
{StrId::STR_NONE_OPT, StrId::STR_NEXT_PAGE, StrId::STR_PREV_PAGE}, "tiltNegativeAction",
StrId::STR_CAT_CONTROLS)
.withSubcategory(StrId::STR_TILT_PAGE_TURN)
.withSubmenu(StrId::STR_TILT_PAGE_TURN)
.withDeviceTarget(SettingDeviceTarget::X3),
#undef BTN_ACT_OPTIONS