Move to submenu
This commit is contained in:
+4
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user