mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-03 08:41:47 +08:00
add toggles amd defaults
This commit is contained in:
@@ -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}},
|
||||
};
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user