RIP iPedal

This commit is contained in:
firestar5683
2026-05-11 19:09:47 -05:00
parent 21589861fd
commit a67c8f98b7
16 changed files with 7 additions and 883 deletions
-1
View File
@@ -800,7 +800,6 @@ class StarPilotVariables:
toggle.no_uploads = self.get_value("NoUploads", condition=device_management and not self.vetting_branch)
toggle.no_onroad_uploads = self.get_value("DisableOnroadUploads", condition=toggle.no_uploads)
toggle.always_ipedal = self.get_value("AlwaysIPedal", condition=toggle.car_model == HYUNDAI_CAR.HYUNDAI_IONIQ_6)
toggle.nostalgia_mode = self.get_value("NostalgiaMode", condition=toggle.openpilot_longitudinal and toggle.car_model == HYUNDAI_CAR.HYUNDAI_IONIQ_6)
toggle.remap_cancel_to_distance = self.get_value(
"RemapCancelToDistance",
@@ -2323,13 +2323,6 @@
"data_type": "bool",
"ui_type": "toggle"
},
{
"key": "AlwaysIPedal",
"label": "Always I-Pedal",
"description": "Automatically spoof the left paddle when shifting into Drive until i-Pedal latches on supported Hyundai CAN-FD cars.",
"data_type": "bool",
"ui_type": "toggle"
},
{
"key": "NostalgiaMode",
"label": "Nostalgia Mode",
-19
View File
@@ -55,21 +55,6 @@ StarPilotWheelPanel::StarPilotWheelPanel(StarPilotSettingsWindow *parent, bool f
update();
});
ParamControl *alwaysIPedalToggle = new ParamControl(
"AlwaysIPedal",
tr("Always I-Pedal"),
tr("<b>Automatically spoof the left paddle when shifting into Drive</b> until i-Pedal latches on supported Hyundai CAN-FD cars."),
"../../starpilot/assets/toggle_icons/icon_mute.png"
);
toggles["AlwaysIPedal"] = alwaysIPedalToggle;
addItem(alwaysIPedalToggle);
QObject::connect(alwaysIPedalToggle, &AbstractControl::hideDescriptionEvent, [this]() {
update();
});
QObject::connect(alwaysIPedalToggle, &AbstractControl::showDescriptionEvent, [this]() {
update();
});
const std::vector<std::tuple<QString, QString, QString, QString>> wheelToggles {
{"CancelButtonControl", tr("Cancel Button"), tr("<b>Action performed when the remapped \"Cancel\" button is pressed.</b>"), "../../starpilot/assets/toggle_icons/icon_mute.png"},
{"DistanceButtonControl", tr("Distance Button"), tr("<b>Action performed when the \"Distance\" button is pressed.</b>"), "../../starpilot/assets/toggle_icons/icon_mute.png"},
@@ -150,10 +135,6 @@ void StarPilotWheelPanel::updateToggles() {
setVisible &= parent->hasOpenpilotLongitudinal;
}
if (!showAllToggles && key == "AlwaysIPedal") {
setVisible &= parent->isHKGCanFd;
}
if (!showAllToggles && (
key == "ModeButtonControl" ||
key == "LongModeButtonControl" ||