add toggles amd defaults

This commit is contained in:
Test User
2026-06-23 23:04:23 -05:00
parent f694ccdc59
commit c8f92f1a5b
2 changed files with 37 additions and 2 deletions
+2 -2
View File
@@ -642,10 +642,10 @@ inline static std::unordered_map<std::string, ParamKeyAttributes> keys = {
{"WheelIcon", {PERSISTENT, STRING, "stock", "stock", 0}},
{"WheelSpeed", {PERSISTENT, BOOL, "0", "0", 2}},
{"WheelToDownload", {CLEAR_ON_MANAGER_START, STRING, "", ""}},
{"TorqueInterceptorEnabled", {PERSISTENT, BOOL}},
{"TorqueInterceptorEnabled", {PERSISTENT, BOOL, "1", "1"}},
{"RadarInterceptorEnabled", {PERSISTENT, BOOL}},
{"NoMRCC", {PERSISTENT, BOOL}},
{"NoFSC", {PERSISTENT, BOOL}},
{"BlendedACC", {PERSISTENT, BOOL}},
{"BlendedACC", {PERSISTENT, BOOL, "1", "1"}},
{"ManualTransmission", {PERSISTENT, BOOL}},
};
+35
View File
@@ -105,6 +105,41 @@ TogglesPanel::TogglesPanel(SettingsWindow *parent) : ListWidget(parent) {
"../assets/icons/metric.png",
false,
},
{
"TorqueInterceptorEnabled",
tr("Enable Torque Interceptor"),
tr("Enable the torque interceptor to control the steering wheel."),
"../assets/icons/chffr_wheel.png",
true,
},
{
"RadarInterceptorEnabled",
tr("Enable Radar Interceptor"),
tr("Enable if you have installed the radar Interceptor."),
"../assets/icons/chffr_wheel.png",
true,
},
{
"NoMRCC",
tr("Disable Stock MRCC"),
tr("Enable if your car does not have stock MRCC."),
"../assets/icons/chffr_wheel.png",
true,
},
{
"NoFSC",
tr("Disable Stock FSC"),
tr("Enable if your car does not have stock FSC."),
"../assets/icons/chffr_wheel.png",
true,
},
{
"ManualTransmission",
tr("Manual Transmission"),
tr("Enable if your car has a manual transmission."),
"../assets/icons/chffr_wheel.png",
true,
},
};